1
0
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:
paolo-sz 2018-02-25 18:23:16 +01:00
parent 050af8a793
commit d4e2b21534

View File

@ -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));
}