diff options
author | hjk <[email protected]> | 2019-12-10 10:35:45 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2019-12-13 08:07:31 +0000 |
commit | 4bd26c3e4b03dba2825dc77583f6d85a8f696345 (patch) | |
tree | 7f0e6c871e58367a953ca2fe5452b0cfc771f477 /src/plugins/debugger/watchhandler.cpp | |
parent | a1c5ca052bb07b1b7ea612cbd2513c066ede8a4a (diff) |
Debugger: Add ability to hide view columns
Not perfect, e.g. one would probably expect the items to
appear in the context menu of the header views, too, not
just on the main background of the view, but better than
nothing.
Task-number: QTCREATORBUG-23342
Change-Id: Ifdc44dcfd390112faa7b15bb8a51d809e42d7b29
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index e444044fb54..d7c3e11f997 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1741,7 +1741,7 @@ bool WatchModel::contextMenuEvent(const ItemViewEvent &ev) menu->addAction(action(UseDynamicType)); menu->addAction(action(SettingsDialog)); - menu->addSeparator(); + Internal::addHideColumnActions(menu, ev.view()); menu->addAction(action(SettingsDialog)); connect(menu, &QMenu::aboutToHide, menu, &QObject::deleteLater); menu->popup(ev.globalPos()); |