forked from qt-creator/qt-creator
Debugger: Remove DebuggerRunControl::runConfiguration
This needlessly duplicates parts of the base class. Change-Id: I2070cdfeb389cf90554eaa597c716d1049186be5 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user