diff options
author | dt <qtc-committer@nokia.com> | 2009-10-13 13:44:13 +0200 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2009-11-19 16:35:19 +0100 |
commit | 0fa60aa3d8056c4cc38d7d7efe4ef026e33f9f41 (patch) | |
tree | de71ec04ce0b923313c2c1d819a8df7e7b65451b /src/plugins/projectexplorer | |
parent | 0d648636fabd53d22ad77c13b93d756550d170ed (diff) | |
download | qt-creator-0fa60aa3d8056c4cc38d7d7efe4ef026e33f9f41.tar.gz |
Use QFlags<> for QmakeBuildConfig that removes a few casts.
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.cpp | 1 | ||||
-rw-r--r-- | src/plugins/projectexplorer/projectwindow.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 75d967b2fe..549d0ce350 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -2171,6 +2171,7 @@ BuildConfigDialog::BuildConfigDialog(Project *project, QWidget *parent) descriptiveText->setWordWrap(true); vlayout->addWidget(descriptiveText); m_configCombo = new QComboBox; + RunConfiguration *activeRun = m_project->activeRunConfiguration(); foreach (BuildConfiguration *config, m_project->buildConfigurations()) { if (activeRun->isEnabled(config)) { diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index 71cddb250e..cac66e7493 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -361,6 +361,8 @@ void RunConfigurationComboBox::addedRunConfiguration(ProjectExplorer::Project *p void RunConfigurationComboBox::removedRunConfiguration(ProjectExplorer::Project *p, const QString &name) { + Q_UNUSED(p) + Q_UNUSED(name) rebuildTree(); } |