forked from qt-creator/qt-creator
code cosmetics
This commit is contained in:
@@ -315,7 +315,7 @@ void OutputPane::tabChanged(int i)
|
|||||||
RunControl *rc = runControlForTab(i);
|
RunControl *rc = runControlForTab(i);
|
||||||
m_stopAction->setEnabled(rc->isRunning());
|
m_stopAction->setEnabled(rc->isRunning());
|
||||||
m_reRunButton->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<RunControl *>(sender())) {
|
if (rc == qobject_cast<RunControl *>(sender())) {
|
||||||
m_reRunButton->setEnabled(false);
|
m_reRunButton->setEnabled(false);
|
||||||
m_stopAction->setEnabled(true);
|
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<RunControl *>(sender())) {
|
if (rc == qobject_cast<RunControl *>(sender())) {
|
||||||
m_reRunButton->setEnabled(rc);
|
m_reRunButton->setEnabled(rc);
|
||||||
m_stopAction->setEnabled(false);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -284,7 +284,7 @@ void ProjectFileWizardExtension::initProjectChoices(bool enabled)
|
|||||||
// duplicate base names in differing directories).
|
// duplicate base names in differing directories).
|
||||||
//: No project selected
|
//: No project selected
|
||||||
QStringList projectChoices(tr("<None>"));
|
QStringList projectChoices(tr("<None>"));
|
||||||
QStringList projectToolTips( QString::null ); // Do not use QString() - gcc-bug.
|
QStringList projectToolTips((QString()));
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
typedef QMap<ProjectEntry, bool> ProjectEntryMap;
|
typedef QMap<ProjectEntry, bool> ProjectEntryMap;
|
||||||
// Sort by base name and purge duplicated entries (resulting from dependencies)
|
// Sort by base name and purge duplicated entries (resulting from dependencies)
|
||||||
|
Reference in New Issue
Block a user