forked from qt-creator/qt-creator
Fixes: debugger: try accessing compiled-in dumpers when attaching to an
external application
This commit is contained in:
@@ -105,6 +105,7 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
|
||||
QAction *act3 = 0;
|
||||
QAction *act4 = 0;
|
||||
QAction *act5 = new QAction("Debugger properties...", &menu);
|
||||
QAction *act6 = new QAction("Re-check availability of custom dumpers", &menu);
|
||||
|
||||
menu.addAction(act1);
|
||||
menu.addAction(act2);
|
||||
@@ -130,6 +131,7 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
|
||||
// FIXME: menu.addAction(act4);
|
||||
}
|
||||
menu.addSeparator();
|
||||
menu.addAction(act6);
|
||||
menu.addAction(act5);
|
||||
|
||||
QAction *act = menu.exec(ev->globalPos());
|
||||
@@ -149,6 +151,8 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
|
||||
model()->setData(mi0, !visual, VisualRole);
|
||||
else if (act == act5)
|
||||
emit settingsDialogRequested();
|
||||
else if (act == act6)
|
||||
emit requestRecheckCustomDumperAvailability();
|
||||
}
|
||||
|
||||
void WatchWindow::resizeColumnsToContents()
|
||||
|
||||
Reference in New Issue
Block a user