mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue