- Fixed compilation warning

This commit is contained in:
Christophe Dumez 2007-11-21 20:35:31 +00:00
parent 7982011d0b
commit 725ef52cfe

View file

@ -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))));
}
}
}