Fix always to end of line jumping cursor in MakeStepConfigWidget

Also rename some methods/signal to make clearer that those only are
relevevant for user changes not for all arguments.
This commit is contained in:
dt
2009-11-30 19:30:51 +01:00
parent 2de390cfdb
commit 3565fe4e82
5 changed files with 32 additions and 25 deletions

View File

@@ -306,7 +306,7 @@ void Qt4ProjectConfigWidget::importLabelClicked()
// If we are switching to BuildAll we want "release" in there and no "debug"
// or "debug" in there and no "release"
// If we are switching to not BuildAl we want neither "release" nor "debug" in there
QStringList makeCmdArguments = makeStep->makeArguments();
QStringList makeCmdArguments = makeStep->userArguments();
bool debug = qmakeBuildConfig & QtVersion::DebugBuild;
if (qmakeBuildConfig & QtVersion::BuildAll) {
makeCmdArguments.removeAll(debug ? "release" : "debug");
@@ -316,7 +316,7 @@ void Qt4ProjectConfigWidget::importLabelClicked()
makeCmdArguments.removeAll("debug");
makeCmdArguments.removeAll("release");
}
makeStep->setMakeArguments(makeCmdArguments);
makeStep->setUserArguments(makeCmdArguments);
}
}
setupQtVersionsComboBox();