Commit 7e5bad49 authored by hjk's avatar hjk

Debugger: Remove DebuggerRunControl::runConfiguration

This needlessly duplicates parts of the base class.

Change-Id: I2070cdfeb389cf90554eaa597c716d1049186be5
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 4f242d33
......@@ -102,7 +102,6 @@ static const char *engineTypeName(DebuggerEngineType et)
DebuggerRunControl::DebuggerRunControl(RunConfiguration *runConfiguration, DebuggerEngine *engine)
: RunControl(runConfiguration, DebugRunMode),
m_engine(engine),
m_runConfiguration(runConfiguration),
m_running(false)
{
setIcon(QLatin1String(ProjectExplorer::Constants::ICON_DEBUG_SMALL));
......@@ -247,12 +246,6 @@ DebuggerEngine *DebuggerRunControl::engine()
return m_engine;
}
RunConfiguration *DebuggerRunControl::runConfiguration() const
{
return m_runConfiguration.data();
}
////////////////////////////////////////////////////////////////////////
//
// DebuggerRunControlFactory
......
......@@ -39,7 +39,6 @@
namespace Debugger {
class DebuggerEngine;
class DebuggerRunControl;
class DebuggerStartParameters;
namespace Internal { class DebuggerRunControlFactory; }
......@@ -60,7 +59,6 @@ public:
void startFailed();
void debuggingFinished();
ProjectExplorer::RunConfiguration *runConfiguration() const;
DebuggerEngine *engine();
void showMessage(const QString &msg, int channel);
......@@ -76,7 +74,6 @@ private:
DebuggerRunControl(ProjectExplorer::RunConfiguration *runConfiguration, DebuggerEngine *engine);
DebuggerEngine *m_engine;
const QPointer<ProjectExplorer::RunConfiguration> m_runConfiguration;
bool m_running;
};
......
Markdown is supported
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