mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 02:36:10 +03:00
Ensure that all tranferlist columns have a size > 0.
This commit is contained in:
parent
029505bf1d
commit
b32a68318c
2 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
- FEATURE: Allow clearing execution and ban logs (Gelmir)
|
||||
- BUGFIX: Add confirmation dialog for "Force recheck" action (closes #131)
|
||||
- BUGFIX: Greatly improve RSS manager performance (closes #34)
|
||||
- BUGFIX: Ensure that all columns in the tranferlist have a size > 0.
|
||||
- OTHER: Generate translations at configure time to reduce tarball size
|
||||
- PERFORMANCE: Impove drawing speed of tranferlist when there are many torrents(>100)
|
||||
- PERFORMANCE: Impove drawing speed of peers list when there are many peers
|
||||
|
|
|
@ -126,6 +126,13 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||
setColumnHidden(TorrentModelItem::TR_TIME_ELAPSED, true);
|
||||
}
|
||||
|
||||
//When adding/removing columns between versions some may
|
||||
//end up being size 0 when the new version is launched with
|
||||
//a conf file from the previous version.
|
||||
for (unsigned int i=0; i<TorrentModelItem::NB_COLUMNS; i++)
|
||||
if (!columnWidth(i))
|
||||
resizeColumnToContents(i);
|
||||
|
||||
setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
// Listen for list events
|
||||
|
|
Loading…
Reference in a new issue