summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/sourcefileshandler.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-11-09 11:08:45 +0100
committerhjk <hjk@qt.io>2020-11-10 14:28:39 +0000
commit2bfd515b03e0eb7fbefe4b76f7879a43863306e8 (patch)
tree95a11be1a4f5d5026e604fa905e4aad372ef2bb2 /src/plugins/debugger/sourcefileshandler.cpp
parent1d2b5db02f0fcb065bd2afbf7bcdeb7a6aa8a9bc (diff)
downloadqt-creator-2bfd515b03e0eb7fbefe4b76f7879a43863306e8.tar.gz
Utils: Allow BaseTreeView users to hide columns manually
... using a context menu on the header views. Use the feature in the debugger views where it was previously un-intuitively available as part of the main context menu of the view, but not in the header. Task-number: QTCREATORBUG-24384 Change-Id: I3f030c3dd8ce35dc91bad921e37d2273bfe548b5 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/sourcefileshandler.cpp')
-rw-r--r--src/plugins/debugger/sourcefileshandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/sourcefileshandler.cpp b/src/plugins/debugger/sourcefileshandler.cpp
index badf370175..30c5810ec8 100644
--- a/src/plugins/debugger/sourcefileshandler.cpp
+++ b/src/plugins/debugger/sourcefileshandler.cpp
@@ -137,7 +137,6 @@ bool SourceFilesHandler::setData(const QModelIndex &idx, const QVariant &data, i
addAction(tr("Open File \"%1\"").arg(name), true,
[this, name] { m_engine->gotoLocation(FilePath::fromString(name)); });
- Internal::addHideColumnActions(menu, ev.view());
menu->addAction(action(SettingsDialog)->action());
menu->popup(ev.globalPos());
return true;