diff options
author | hjk <[email protected]> | 2023-05-30 13:17:58 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-06-22 15:22:38 +0000 |
commit | 0cf14773244bf84d4a90f75f978792a12f96ab57 (patch) | |
tree | b84fe7247bd95fa9732201c07e99cdc93d027142 /src/plugins/debugger/debuggerplugin.cpp | |
parent | 091b8530688442e5846c0f276f0a0b31c8fc4b7f (diff) |
Debugger: Split out gdb related options into own page object
Goal is to make option setup more similar to the other "simple" pages.
The GdbOptionPage is now separated in the setup code, but aggregated
into the old place and accessed there.
The per-backend separation seem quite weak, a full split would currently
need to have include gdb/* in several places now is an indication
that the gdb/non-gdb split in the options is dubious at best.
Change-Id: Iad210016739aa4a63645731e16825f546bdd5e8a
Reviewed-by: Alessandro Portale <[email protected]>
Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index dffa503c456..4aa0f1b33c6 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -364,7 +364,6 @@ const char MENU_GROUP_SPECIAL[] = "Debugger.Group.Special"; const char MENU_GROUP_START_QML[] = "Debugger.Group.Start.Qml"; void addCdbOptionPages(QList<IOptionsPage*> *opts); -void addGdbOptionPages(QList<IOptionsPage*> *opts); static QIcon startIcon(bool toolBarStyle) { @@ -1126,7 +1125,6 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments) // }); m_optionPages.append(new LocalsAndExpressionsOptionsPage); - addGdbOptionPages(&m_optionPages); addCdbOptionPages(&m_optionPages); connect(ModeManager::instance(), &ModeManager::currentModeAboutToChange, this, [] { |