mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
- Minor cleanup
This commit is contained in:
parent
81658b9648
commit
5fac6ef3b2
@ -193,10 +193,7 @@ void PropertiesWidget::loadTorrentInfos(QTorrentHandle &_h) {
|
|||||||
std::vector<int> files_priority = loadFilesPriorities();
|
std::vector<int> files_priority = loadFilesPriorities();
|
||||||
PropListModel->updateFilesPriorities(files_priority);
|
PropListModel->updateFilesPriorities(files_priority);
|
||||||
// Expand first item if possible
|
// Expand first item if possible
|
||||||
if(PropListModel->rowCount())
|
|
||||||
filesList->expand(PropListModel->index(0, 0));
|
filesList->expand(PropListModel->index(0, 0));
|
||||||
// Increase first column width
|
|
||||||
//filesList->resizeColumnToContents(0); // does not work
|
|
||||||
} catch(invalid_handle e) {
|
} catch(invalid_handle e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user