mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 02:06:07 +03:00
- Fixed compilation warning
This commit is contained in:
parent
7982011d0b
commit
725ef52cfe
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void DownloadingTorrents::hideOrShowColumn(int index) {
|
|||
}
|
||||
for(int i=0; i<DLListModel->columnCount()-1; i++) {
|
||||
if(i != index) {
|
||||
downloadList->setColumnWidth(i, floor(downloadList->columnWidth(i)-(downloadList->columnWidth(index)/(nbColumns-1))));
|
||||
downloadList->setColumnWidth(i, (int)floor(downloadList->columnWidth(i)-(downloadList->columnWidth(index)/(nbColumns-1))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue