diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp index 45dfc839201..8517896de50 100644 --- a/src/plugins/projectexplorer/outputwindow.cpp +++ b/src/plugins/projectexplorer/outputwindow.cpp @@ -315,7 +315,7 @@ void OutputPane::tabChanged(int i) RunControl *rc = runControlForTab(i); m_stopAction->setEnabled(rc->isRunning()); m_reRunButton->setEnabled(!rc->isRunning()); - m_reRunButton->setIcon( rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); + m_reRunButton->setIcon(rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); } } @@ -325,7 +325,7 @@ void OutputPane::runControlStarted() if (rc == qobject_cast(sender())) { m_reRunButton->setEnabled(false); m_stopAction->setEnabled(true); - m_reRunButton->setIcon( rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); + m_reRunButton->setIcon(rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); } } @@ -335,7 +335,7 @@ void OutputPane::runControlFinished() if (rc == qobject_cast(sender())) { m_reRunButton->setEnabled(rc); m_stopAction->setEnabled(false); - m_reRunButton->setIcon( rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); + m_reRunButton->setIcon(rc->runMode() == Constants::DEBUGMODE ? m_debugIcon : m_runIcon); } } diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index e3c8b4d0e17..69df21df82d 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.cpp +++ b/src/plugins/projectexplorer/projectfilewizardextension.cpp @@ -284,7 +284,7 @@ void ProjectFileWizardExtension::initProjectChoices(bool enabled) // duplicate base names in differing directories). //: No project selected QStringList projectChoices(tr("")); - QStringList projectToolTips( QString::null ); // Do not use QString() - gcc-bug. + QStringList projectToolTips((QString())); if (enabled) { typedef QMap ProjectEntryMap; // Sort by base name and purge duplicated entries (resulting from dependencies)