mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 13:28:50 +03:00
Merge pull request #14292 from jagannatharjun/fix-double-click
Disable expand on double click in TorrentContentTreeView
This commit is contained in:
commit
53f29613c2
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ namespace
|
||||||
TorrentContentTreeView::TorrentContentTreeView(QWidget *parent)
|
TorrentContentTreeView::TorrentContentTreeView(QWidget *parent)
|
||||||
: QTreeView(parent)
|
: QTreeView(parent)
|
||||||
{
|
{
|
||||||
|
setExpandsOnDoubleClick(false);
|
||||||
|
|
||||||
// This hack fixes reordering of first column with Qt5.
|
// This hack fixes reordering of first column with Qt5.
|
||||||
// https://github.com/qtproject/qtbase/commit/e0fc088c0c8bc61dbcaf5928b24986cd61a22777
|
// https://github.com/qtproject/qtbase/commit/e0fc088c0c8bc61dbcaf5928b24986cd61a22777
|
||||||
QTableView unused;
|
QTableView unused;
|
||||||
|
|
Loading…
Reference in a new issue