mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Fix Content widget misbehavior
Starting from QT 5.10.1 Content widget is messed up and its settings are lost while restarting. Setting StretchLastSection property to false seems to solve the issue. (Closes #8439).
This commit is contained in:
parent
050af8a793
commit
d4e2b21534
@ -43,6 +43,7 @@ TorrentContentTreeView::TorrentContentTreeView(QWidget *parent)
|
||||
QTableView unused;
|
||||
unused.setVerticalHeader(header());
|
||||
header()->setParent(this);
|
||||
header()->setStretchLastSection(false);
|
||||
unused.setVerticalHeader(new QHeaderView(Qt::Horizontal));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user