Commit 69bc6b01 authored by hjk's avatar hjk
Browse files

debugger: remove unneeded function

parent e1f1f318
......@@ -741,12 +741,6 @@ bool DebuggerRunControl::isRunning() const
return d->m_running;
}
DebuggerState DebuggerRunControl::state() const
{
QTC_ASSERT(d->m_engine, return DebuggerNotReady);
return d->m_engine->state();
}
DebuggerEngine *DebuggerRunControl::engine()
{
QTC_ASSERT(d->m_engine, /**/);
......
......@@ -66,6 +66,7 @@ public:
// FIXME: Used by qmljsinspector.cpp:469
RunControl *create(RunConfiguration *runConfiguration, const QString &mode);
bool canRun(RunConfiguration *runConfiguration, const QString &mode) const;
private:
QString displayName() const;
QWidget *createConfigurationWidget(RunConfiguration *runConfiguration);
......@@ -98,8 +99,6 @@ public:
void startFailed();
void debuggingFinished();
RunConfiguration *runConfiguration() const;
DebuggerState state() const;
DebuggerEngine *engine();
void showMessage(const QString &msg, int channel);
......
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