From 8cb33fc8bf5a6d7544f77a60f7f987268bf20349 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Fri, 13 Dec 2013 22:03:26 +0100 Subject: [PATCH] ProjectExplorer: Fix typo Change-Id: Icccb94e48e6d449f939e0b4876cafb7c39891250 Reviewed-by: Orgad Shaneh Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/appoutputpane.cpp | 8 ++++---- src/plugins/projectexplorer/appoutputpane.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 74917d06d7d..2e19f518038 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -101,7 +101,7 @@ void TabWidget::slotContextMenuRequested(const QPoint &pos) } 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; window->appendMessage(out, format); if (format != Utils::NormalMessageFormat) { - if (m_runControlTabs.at(index).behavivorOnOutput == Flash) + if (m_runControlTabs.at(index).behaviorOnOutput == Flash) flash(); else popup(NoModeSwitch); @@ -377,11 +377,11 @@ void AppOutputPane::showTabFor(RunControl *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); if (index != -1) - m_runControlTabs[index].behavivorOnOutput = mode; + m_runControlTabs[index].behaviorOnOutput = mode; } void AppOutputPane::reRunRunControl() diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index af9dc3fa0bb..883385bf71e 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -60,7 +60,7 @@ public: CloseTabWithPrompt }; - enum BehavivorOnOutput { + enum BehaviorOnOutput { Flash, Popup }; @@ -86,7 +86,7 @@ public: void createNewOutputWindow(RunControl *rc); void showTabFor(RunControl *rc); - void setBehaviorOnOutput(RunControl *rc, BehavivorOnOutput mode); + void setBehaviorOnOutput(RunControl *rc, BehaviorOnOutput mode); bool aboutToClose() const; bool closeTabs(CloseTabMode mode); @@ -130,7 +130,7 @@ private: Core::OutputWindow *window; // Is the run control stopping asynchronously, close the tab once it finishes bool asyncClosing; - BehavivorOnOutput behavivorOnOutput; + BehaviorOnOutput behaviorOnOutput; }; bool isRunning() const;