Fixed the check for whether there already is a -spec parameter

This commit is contained in:
dt
2009-10-30 18:40:33 +01:00
parent 98ded2e856
commit 7dc399d678

View File

@@ -64,7 +64,7 @@ QStringList QMakeStep::arguments(const QString &buildConfiguration)
arguments << project()->file()->fileName();
arguments << "-r";
if (!arguments.contains("-spec"))
if (!additonalArguments.contains("-spec"))
arguments << "-spec" << "default";
#ifdef Q_OS_WIN