Browse Source

Merge pull request #14292 from jagannatharjun/fix-double-click

Disable expand on double click in TorrentContentTreeView
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
53f29613c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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