diff --git a/src/plugins/debugger/debuggercore.h b/src/plugins/debugger/debuggercore.h index 484aa2ee0aa..63da7f1294b 100644 --- a/src/plugins/debugger/debuggercore.h +++ b/src/plugins/debugger/debuggercore.h @@ -67,8 +67,6 @@ class DebuggerCore : public QObject public: DebuggerCore() {} - static DebuggerCore *instance(); - virtual QVariant sessionValue(const QString &name) = 0; virtual void setSessionValue(const QString &name, const QVariant &value) = 0; virtual QVariant configValue(const QString &name) const = 0; @@ -111,6 +109,7 @@ public: virtual QWidget *mainWindow() const = 0; }; +// This is the only way to access the global object. DebuggerCore *debuggerCore(); } // namespace Internal