Browse Source

Disable expand on double click in TorrentContentTreeView

We hook our own actions on double click. Fixes #14269
adaptive-webui-19844
jagannatharjun 4 years ago
parent
commit
3371709472
  1. 2
      src/gui/torrentcontenttreeview.cpp

2
src/gui/torrentcontenttreeview.cpp

@ -64,6 +64,8 @@ namespace @@ -64,6 +64,8 @@ namespace
TorrentContentTreeView::TorrentContentTreeView(QWidget *parent)
: QTreeView(parent)
{
setExpandsOnDoubleClick(false);
// This hack fixes reordering of first column with Qt5.
// https://github.com/qtproject/qtbase/commit/e0fc088c0c8bc61dbcaf5928b24986cd61a22777
QTableView unused;

Loading…
Cancel
Save