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

debugger: remove unneeded function

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