forked from qt-creator/qt-creator
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 <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -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, [] {
|
||||
|
||||
Reference in New Issue
Block a user