ProjectExplorer: Fix typo

Change-Id: Icccb94e48e6d449f939e0b4876cafb7c39891250
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Andre Hartmann
2013-12-13 22:03:26 +01:00
committed by André Hartmann
parent c1fc3e5ded
commit 8cb33fc8bf
2 changed files with 7 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ void TabWidget::slotContextMenuRequested(const QPoint &pos)
} }
AppOutputPane::RunControlTab::RunControlTab(RunControl *rc, Core::OutputWindow *w) : AppOutputPane::RunControlTab::RunControlTab(RunControl *rc, Core::OutputWindow *w) :
runControl(rc), window(w), asyncClosing(false), behavivorOnOutput(Flash) runControl(rc), window(w), asyncClosing(false), behaviorOnOutput(Flash)
{ {
} }
@@ -364,7 +364,7 @@ void AppOutputPane::appendMessage(RunControl *rc, const QString &out, Utils::Out
Core::OutputWindow *window = m_runControlTabs.at(index).window; Core::OutputWindow *window = m_runControlTabs.at(index).window;
window->appendMessage(out, format); window->appendMessage(out, format);
if (format != Utils::NormalMessageFormat) { if (format != Utils::NormalMessageFormat) {
if (m_runControlTabs.at(index).behavivorOnOutput == Flash) if (m_runControlTabs.at(index).behaviorOnOutput == Flash)
flash(); flash();
else else
popup(NoModeSwitch); popup(NoModeSwitch);
@@ -377,11 +377,11 @@ void AppOutputPane::showTabFor(RunControl *rc)
m_tabWidget->setCurrentIndex(tabWidgetIndexOf(indexOf(rc))); m_tabWidget->setCurrentIndex(tabWidgetIndexOf(indexOf(rc)));
} }
void AppOutputPane::setBehaviorOnOutput(RunControl *rc, AppOutputPane::BehavivorOnOutput mode) void AppOutputPane::setBehaviorOnOutput(RunControl *rc, AppOutputPane::BehaviorOnOutput mode)
{ {
const int index = indexOf(rc); const int index = indexOf(rc);
if (index != -1) if (index != -1)
m_runControlTabs[index].behavivorOnOutput = mode; m_runControlTabs[index].behaviorOnOutput = mode;
} }
void AppOutputPane::reRunRunControl() void AppOutputPane::reRunRunControl()

View File

@@ -60,7 +60,7 @@ public:
CloseTabWithPrompt CloseTabWithPrompt
}; };
enum BehavivorOnOutput { enum BehaviorOnOutput {
Flash, Flash,
Popup Popup
}; };
@@ -86,7 +86,7 @@ public:
void createNewOutputWindow(RunControl *rc); void createNewOutputWindow(RunControl *rc);
void showTabFor(RunControl *rc); void showTabFor(RunControl *rc);
void setBehaviorOnOutput(RunControl *rc, BehavivorOnOutput mode); void setBehaviorOnOutput(RunControl *rc, BehaviorOnOutput mode);
bool aboutToClose() const; bool aboutToClose() const;
bool closeTabs(CloseTabMode mode); bool closeTabs(CloseTabMode mode);
@@ -130,7 +130,7 @@ private:
Core::OutputWindow *window; Core::OutputWindow *window;
// Is the run control stopping asynchronously, close the tab once it finishes // Is the run control stopping asynchronously, close the tab once it finishes
bool asyncClosing; bool asyncClosing;
BehavivorOnOutput behavivorOnOutput; BehaviorOnOutput behaviorOnOutput;
}; };
bool isRunning() const; bool isRunning() const;