mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Disable expand on double click in TorrentContentTreeView
We hook our own actions on double click. Fixes #14269
This commit is contained in:
parent
42637a642b
commit
3371709472
@ -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…
Reference in New Issue
Block a user