Debugger: Fix typo

Change-Id: I6cdfb989be46dfad0cbe276ef7c5b067b80260d0
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-02-26 08:29:08 +01:00
committed by hjk
parent bf87fc9640
commit d6fd56ba9d

View File

@@ -610,7 +610,7 @@ DebuggerToolTipWidget::DebuggerToolTipWidget()
// //
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
enum DebuggerTootipState enum DebuggerTooltipState
{ {
New, // All new, widget not shown, not async (yet) New, // All new, widget not shown, not async (yet)
PendingUnshown, // Widget not (yet) shown, async. PendingUnshown, // Widget not (yet) shown, async.
@@ -635,7 +635,7 @@ public:
void updateTooltip(DebuggerEngine *engine); void updateTooltip(DebuggerEngine *engine);
void setState(DebuggerTootipState newState); void setState(DebuggerTooltipState newState);
void destroy(); void destroy();
public: public:
@@ -643,7 +643,7 @@ public:
QDate creationDate; QDate creationDate;
DebuggerToolTipContext context; DebuggerToolTipContext context;
DebuggerTootipState state; DebuggerTooltipState state;
}; };
static void hideAllToolTips() static void hideAllToolTips()
@@ -817,7 +817,7 @@ void DebuggerToolTipHolder::updateTooltip(DebuggerEngine *engine)
widget->titleLabel->setToolTip(context.toolTip()); widget->titleLabel->setToolTip(context.toolTip());
} }
void DebuggerToolTipHolder::setState(DebuggerTootipState newState) void DebuggerToolTipHolder::setState(DebuggerTooltipState newState)
{ {
bool ok = (state == New && newState == PendingUnshown) bool ok = (state == New && newState == PendingUnshown)
|| (state == PendingUnshown && newState == PendingShown) || (state == PendingUnshown && newState == PendingShown)