Commit 8cb33fc8 authored by Andre Hartmann's avatar Andre Hartmann Committed by André Hartmann
Browse files

ProjectExplorer: Fix typo



Change-Id: Icccb94e48e6d449f939e0b4876cafb7c39891250
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent c1fc3e5d
......@@ -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()
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment