mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-03-31 20:20:30 +08:00
Fix default width of file name column in torrent content
This commit is contained in:
parent
772028106e
commit
db01276f1d
@ -254,7 +254,7 @@ void PropertiesWidget::readSettings() {
|
||||
QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
QVariantList contentColsWidths = settings.value(QString::fromUtf8("TorrentProperties/filesColsWidth"), QVariantList()).toList();
|
||||
if(contentColsWidths.empty()) {
|
||||
filesList->header()->resizeSection(0, filesList->width()/2.);
|
||||
filesList->header()->resizeSection(0, 300);
|
||||
} else {
|
||||
for(int i=0; i<contentColsWidths.size(); ++i) {
|
||||
filesList->setColumnWidth(i, contentColsWidths.at(i).toInt());
|
||||
|
Loading…
x
Reference in New Issue
Block a user