forked from qt-creator/qt-creator
Coding style.
This commit is contained in:
@@ -124,7 +124,7 @@ AppOutputPane::~AppOutputPane()
|
|||||||
if (debug)
|
if (debug)
|
||||||
qDebug() << "OutputPane::~OutputPane: Entries left" << m_runControlTabs.size();
|
qDebug() << "OutputPane::~OutputPane: Entries left" << m_runControlTabs.size();
|
||||||
|
|
||||||
foreach(const RunControlTab &rt, m_runControlTabs)
|
foreach (const RunControlTab &rt, m_runControlTabs)
|
||||||
delete rt.runControl;
|
delete rt.runControl;
|
||||||
delete m_mainWidget;
|
delete m_mainWidget;
|
||||||
}
|
}
|
||||||
@@ -169,7 +169,7 @@ int AppOutputPane::tabWidgetIndexOf(int runControlIndex) const
|
|||||||
|
|
||||||
bool AppOutputPane::aboutToClose() const
|
bool AppOutputPane::aboutToClose() const
|
||||||
{
|
{
|
||||||
foreach(const RunControlTab &rt, m_runControlTabs)
|
foreach (const RunControlTab &rt, m_runControlTabs)
|
||||||
if (rt.runControl->isRunning() && !rt.runControl->promptToStop())
|
if (rt.runControl->isRunning() && !rt.runControl->promptToStop())
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
@@ -450,7 +450,7 @@ void AppOutputPane::runControlFinished()
|
|||||||
|
|
||||||
bool AppOutputPane::isRunning() const
|
bool AppOutputPane::isRunning() const
|
||||||
{
|
{
|
||||||
foreach(const RunControlTab &rt, m_runControlTabs)
|
foreach (const RunControlTab &rt, m_runControlTabs)
|
||||||
if (rt.runControl->isRunning())
|
if (rt.runControl->isRunning())
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user