forked from qt-creator/qt-creator
Debugger: Remove unused DebuggerEngine::isStartupRunConfiguration()
Change-Id: I0e3773052495b3812b87959ef16077c5bee441a3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -451,7 +451,6 @@ public:
|
||||
|
||||
DebuggerEngine *m_engine = nullptr; // Not owned.
|
||||
QString m_runId;
|
||||
QPointer<RunConfiguration> m_runConfiguration; // Not owned.
|
||||
QString m_debuggerName;
|
||||
Perspective *m_perspective = nullptr;
|
||||
DebuggerRunParameters m_runParameters;
|
||||
@@ -1007,7 +1006,6 @@ void DebuggerEngine::setRunId(const QString &id)
|
||||
void DebuggerEngine::setRunTool(DebuggerRunTool *runTool)
|
||||
{
|
||||
RunControl *runControl = runTool->runControl();
|
||||
d->m_runConfiguration = runControl->runConfiguration();
|
||||
d->m_device = runControl->device();
|
||||
if (!d->m_device)
|
||||
d->m_device = d->m_runParameters.inferior.device;
|
||||
@@ -1986,11 +1984,6 @@ void DebuggerEngine::progressPing()
|
||||
d->m_progress.setProgressValue(progress);
|
||||
}
|
||||
|
||||
bool DebuggerEngine::isStartupRunConfiguration() const
|
||||
{
|
||||
return d->m_runConfiguration == RunConfiguration::startupRunConfiguration();
|
||||
}
|
||||
|
||||
void DebuggerEngine::setCompanionEngine(DebuggerEngine *engine)
|
||||
{
|
||||
d->m_companionEngine = engine;
|
||||
|
||||
@@ -267,7 +267,6 @@ public:
|
||||
QString runId() const;
|
||||
|
||||
const DebuggerRunParameters &runParameters() const;
|
||||
bool isStartupRunConfiguration() const;
|
||||
void setCompanionEngine(DebuggerEngine *engine);
|
||||
void setSecondaryEngine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user