diff options
author | hjk <hjk121@nokiamail.com> | 2014-07-28 14:23:52 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-28 15:48:15 +0200 |
commit | 5ac407eeccc446b9ba958cea2cc1fb47e4090dd4 (patch) | |
tree | 6e48d9fe5a335efc8d5208b5000885ba2db710ba /src/plugins/debugger/debuggerrunner.cpp | |
parent | 15fcdabc1d18f55a68a91251e8c581791c1aff8f (diff) | |
download | qt-creator-5ac407eeccc446b9ba958cea2cc1fb47e4090dd4.tar.gz |
Debugger: Reduce line noise
Move some function out of the DebuggerCore "namespace", to avoid one
indirection and removes clutter in the calling code.
Change-Id: I1c870d5c7eeade32fa63dedf581490fbb090cd6a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index fcee2fedc2..d9428a426c 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -172,7 +172,7 @@ void DebuggerRunControl::start() if (d->m_engine->startParameters().startMode == StartInternal) { QStringList unhandledIds; - foreach (const BreakpointModelId &id, debuggerCore()->breakHandler()->allBreakpointIds()) { + foreach (const BreakpointModelId &id, breakHandler()->allBreakpointIds()) { if (d->m_engine->breakHandler()->breakpointData(id).enabled && !d->m_engine->acceptsBreakpoint(id)) unhandledIds.append(id.toString()); @@ -431,7 +431,7 @@ DebuggerRunControl *DebuggerRunControlFactory::doCreate TaskHub::clearTasks(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME); DebuggerStartParameters sp = sp0; - if (!debuggerCore()->boolSetting(AutoEnrichParameters)) { + if (!boolSetting(AutoEnrichParameters)) { const QString sysroot = sp.sysRoot; if (sp.debugInfoLocation.isEmpty()) sp.debugInfoLocation = sysroot + QLatin1String("/usr/lib/debug"); |