aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2020-10-05 05:27:30 +0200
committerhjk <[email protected]>2020-10-05 08:46:27 +0000
commitfcaa6801cf609a0ecda64937d38096ecfb1c357f (patch)
tree5bd1cc5133835f406206cf2ee365c9c0117d1e46 /src/plugins/debugger/breakhandler.cpp
parentf4beb6314ce6bd86268057137dc935ed8b6a636d (diff)
Utils: Start replacing SavedActions by QAction or Utils::Aspect
First mechanical step here is to derive SavedActions from BaseAspect instead of QAction. Change-Id: I2ec95883b825462c1d867f83cc2b3bd2c2732055 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index d66de9abf3d..1de7d332697 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -1671,9 +1671,9 @@ bool BreakHandler::contextMenuEvent(const ItemViewEvent &ev)
menu->addSeparator();
- menu->addAction(action(UseToolTipsInBreakpointsView));
+ menu->addAction(action(UseToolTipsInBreakpointsView)->action());
Internal::addHideColumnActions(menu, ev.view());
- menu->addAction(action(SettingsDialog));
+ menu->addAction(action(SettingsDialog)->action());
menu->popup(ev.globalPos());
@@ -2632,9 +2632,9 @@ bool BreakpointManager::contextMenuEvent(const ItemViewEvent &ev)
menu->addSeparator();
- menu->addAction(action(UseToolTipsInBreakpointsView));
+ menu->addAction(action(UseToolTipsInBreakpointsView)->action());
Internal::addHideColumnActions(menu, ev.view());
- menu->addAction(action(SettingsDialog));
+ menu->addAction(action(SettingsDialog)->action());
menu->popup(ev.globalPos());