mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
- Fixed compilation warning
This commit is contained in:
parent
721ef1d236
commit
be34bed61a
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ void FinishedTorrents::hideOrShowColumn(int index) {
|
||||||
}
|
}
|
||||||
for(int i=0; i<finishedListModel->columnCount()-1; i++) {
|
for(int i=0; i<finishedListModel->columnCount()-1; i++) {
|
||||||
if(i != index) {
|
if(i != index) {
|
||||||
finishedList->setColumnWidth(i, floor(finishedList->columnWidth(i)-(finishedList->columnWidth(index)/(nbColumns-1))));
|
finishedList->setColumnWidth(i, (int)floor(finishedList->columnWidth(i)-(finishedList->columnWidth(index)/(nbColumns-1))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue