forked from qt-creator/qt-creator
Debugger: Rework editor tooltips handling
Fix expansion and updating. Persistence and non-locals are still lacking. Change-Id: I74e25199d50350516afc686a05836e239bfc8acb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include "debuggerrunconfigurationaspect.h"
|
||||
#include "debuggerstartparameters.h"
|
||||
#include "debuggerstringutils.h"
|
||||
#include "debuggertooltipmanager.h"
|
||||
#include "breakhandler.h"
|
||||
#include "shared/peutils.h"
|
||||
|
||||
@@ -136,9 +135,7 @@ DebuggerRunControl::DebuggerRunControl(RunConfiguration *runConfiguration,
|
||||
QString errorMessage;
|
||||
d->m_engine = DebuggerRunControlFactory::createEngine(sp.masterEngineType, sp, &errorMessage);
|
||||
|
||||
if (d->m_engine) {
|
||||
DebuggerToolTipManager::registerEngine(d->m_engine);
|
||||
} else {
|
||||
if (!d->m_engine) {
|
||||
debuggingFinished();
|
||||
Core::ICore::showWarningWithOptions(DebuggerRunControl::tr("Debugger"), errorMessage);
|
||||
}
|
||||
|
Reference in New Issue
Block a user