diff options
Diffstat (limited to 'tools/qvfb/qvfbview.cpp')
-rw-r--r-- | tools/qvfb/qvfbview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/qvfb/qvfbview.cpp b/tools/qvfb/qvfbview.cpp index a23bab69b..15e5ca53e 100644 --- a/tools/qvfb/qvfbview.cpp +++ b/tools/qvfb/qvfbview.cpp @@ -282,26 +282,26 @@ static TQString qws_dataDir() TQString dataDir = "/tmp/qtembedded-" + username; if ( mkdir( dataDir.latin1(), 0700 ) ) { if ( errno != EEXIST ) { - tqFatal( TQString("Cannot create TQt/Embedded data directory: %1") - .arg( dataDir ) ); + tqFatal( "Cannot create TQt/Embedded data directory: %s", + dataDir.latin1() ); } } struct stat buf; if ( lstat( dataDir.latin1(), &buf ) ) - tqFatal( TQString( "stat failed for TQt/Embedded data directory: %1" ) - .arg( dataDir ) ); + tqFatal( "stat failed for TQt/Embedded data directory: %s", + dataDir.latin1() ); if ( !S_ISDIR( buf.st_mode ) ) - tqFatal( TQString( "%1 is not a directory" ).arg( dataDir ) ); + tqFatal( "%s is not a directory", dataDir.latin1() ); if ( buf.st_uid != getuid() ) - tqFatal( TQString( "TQt/Embedded data directory is not owned by user %1" ) - .arg( getuid() ) ); + tqFatal( "TQt/Embedded data directory is not owned by user %u", + getuid() ); if ( (buf.st_mode & 0677) != 0600 ) - tqFatal( TQString( "TQt/Embedded data directory has incorrect permissions: %1" ) - .arg( dataDir ) ); + tqFatal( "TQt/Embedded data directory has incorrect permissions: %s", + dataDir.latin1() ); dataDir += "/"; |