fixed: bad #if usage

This commit is contained in:
Nick Bolton 2013-10-16 17:20:32 +00:00
parent 8c99a5f60d
commit 786ddba1c9
1 changed files with 2 additions and 2 deletions

View File

@ -471,7 +471,7 @@ bool MainWindow::clientArgs(QStringList& args, QString& app)
return false;
}
#if Q_OS_WIN
#if defined(Q_OS_WIN)
// wrap in quotes so a malicious user can't start \Program.exe as admin.
app = QString("\"%1\"").arg(app);
#endif
@ -551,7 +551,7 @@ bool MainWindow::serverArgs(QStringList& args, QString& app)
return false;
}
#if Q_OS_WIN
#if defined(Q_OS_WIN)
// wrap in quotes so a malicious user can't start \Program.exe as admin.
app = QString("\"%1\"").arg(app);
#endif