Try to fix macOS FTBFS

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5483 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-08-16 01:59:51 +00:00
parent 4e9fb1b664
commit 85b0efbc68
3 changed files with 19 additions and 20 deletions

View File

@@ -110,8 +110,7 @@ void SingleApplicationPrivate::genBlockServerName()
} else {
appData.addData( QStandardPaths::standardLocations( QStandardPaths::HomeLocation ).join("").toUtf8() );
}
#endif
#ifdef Q_OS_UNIX
#else
QProcess process;
process.start( "whoami" );
if( process.waitForFinished( 100 ) &&