From d0eb10582b7397ceb43e95d4c7af95ad5c4e074c Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 1 Aug 2013 14:16:10 +0200 Subject: TaskHub: De-noise user code Change-Id: Ieb559e884fb08c96d739cf7684389ff740a6233e Reviewed-by: Tobias Hunger --- src/plugins/debugger/debuggerrunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/debuggerrunner.cpp') diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index 72eb2d3df4..664776e7ba 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -458,7 +458,7 @@ static bool fixupEngineTypes(DebuggerStartParameters &sp, RunConfiguration *rc, DebuggerRunControl *DebuggerRunControlFactory::doCreate (const DebuggerStartParameters &sp0, RunConfiguration *rc, QString *errorMessage) { - TaskHub *th = ProjectExplorerPlugin::instance()->taskHub(); + TaskHub *th = ProjectExplorerPlugin::taskHub(); th->clearTasks(Debugger::Constants::TASK_CATEGORY_DEBUGGER_DEBUGINFO); th->clearTasks(Debugger::Constants::TASK_CATEGORY_DEBUGGER_TEST); th->clearTasks(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME); -- cgit v1.2.1