aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-07-18 15:23:29 +0200
committerEike Ziller <eike.ziller@qt.io>2017-07-18 15:23:29 +0200
commit361fdad3be3421496be4dab014a8bee369687387 (patch)
tree4412737d90b20953064b8f53817c014ddc9714c3 /src/plugins/debugger/debuggerplugin.cpp
parent5e38bdbfd8bef6c3bdcede9fe0be11f34e9a0f7c (diff)
parent41ae823bda7cc1bad4b85861d9b0e3087c130e4a (diff)
Merge remote-tracking branch 'origin/4.4'
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 832a343540..38d867c878 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -421,18 +421,6 @@ namespace Internal {
void addCdbOptionPages(QList<IOptionsPage*> *opts);
void addGdbOptionPages(QList<IOptionsPage*> *opts);
-/// DebuggerRunControlFactory
-
-class DebuggerRunControlFactory : public IRunControlFactory
-{
-public:
- IRunConfigurationAspect *createRunConfigurationAspect(RunConfiguration *rc) override
- {
- return new DebuggerRunConfigurationAspect(rc);
- }
-};
-
-
static QIcon visibleStartIcon(Id id, bool toolBarStyle)
{
if (id == Id(Constants::DEBUG)) {
@@ -1495,7 +1483,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
m_localsAndExpressionsWindow->setObjectName(QLatin1String(DOCKWIDGET_WATCHERS));
m_localsAndExpressionsWindow->setWindowTitle(m_localsWindow->windowTitle());
- m_plugin->addAutoReleasedObject(new DebuggerRunControlFactory);
+ RunConfiguration::registerAspect<DebuggerRunConfigurationAspect>();
// The main "Start Debugging" action.
act = m_startAction = new QAction(this);