Commit 9190fce7 authored by hjk's avatar hjk
Browse files

debugger: close tooltip window when cleaning up views

parent ce920cf9
...@@ -29,16 +29,17 @@ ...@@ -29,16 +29,17 @@
#include "debuggermanager.h" #include "debuggermanager.h"
#include "debuggerplugin.h"
#include "debuggeractions.h" #include "debuggeractions.h"
#include "debuggeragents.h" #include "debuggeragents.h"
#include "debuggerrunner.h"
#include "debuggerconstants.h" #include "debuggerconstants.h"
#include "idebuggerengine.h" #include "debuggermainwindow.h"
#include "debuggerplugin.h"
#include "debuggerrunner.h"
#include "debuggerstringutils.h" #include "debuggerstringutils.h"
#include "watchutils.h" #include "debuggertooltip.h"
#include "debuggeruiswitcher.h" #include "debuggeruiswitcher.h"
#include "debuggermainwindow.h" #include "idebuggerengine.h"
#include "watchutils.h"
#include "breakwindow.h" #include "breakwindow.h"
#include "debuggeroutputwindow.h" #include "debuggeroutputwindow.h"
...@@ -504,8 +505,6 @@ void DebuggerManager::init() ...@@ -504,8 +505,6 @@ void DebuggerManager::init()
d->m_outputWindow, SLOT(showOutput(int, QString)), Qt::QueuedConnection); d->m_outputWindow, SLOT(showOutput(int, QString)), Qt::QueuedConnection);
// Tooltip // Tooltip
//QTreeView *tooltipView = qobject_cast<QTreeView *>(d->m_tooltipWindow);
//tooltipView->setModel(d->m_watchHandler->model(TooltipsWatch));
qRegisterMetaType<WatchData>("WatchData"); qRegisterMetaType<WatchData>("WatchData");
qRegisterMetaType<StackCookie>("StackCookie"); qRegisterMetaType<StackCookie>("StackCookie");
...@@ -1147,6 +1146,7 @@ void DebuggerManager::cleanupViews() ...@@ -1147,6 +1146,7 @@ void DebuggerManager::cleanupViews()
d->m_sourceFilesWindow->removeAll(); d->m_sourceFilesWindow->removeAll();
d->m_disassemblerViewAgent.cleanup(); d->m_disassemblerViewAgent.cleanup();
d->m_actions.reverseDirectionAction->setChecked(false); d->m_actions.reverseDirectionAction->setChecked(false);
hideDebuggerToolTip();
// FIXME: Move to plugin? // FIXME: Move to plugin?
using namespace Core; using namespace Core;
......
Supports Markdown
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