1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- Fixed compilation warning

This commit is contained in:
Christophe Dumez 2007-11-19 21:33:07 +00:00
parent 721ef1d236
commit be34bed61a

View File

@ -424,7 +424,7 @@ void FinishedTorrents::hideOrShowColumn(int index) {
}
for(int i=0; i<finishedListModel->columnCount()-1; i++) {
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))));
}
}
}