diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index 4400e10fa..7e75e244c 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -424,7 +424,7 @@ void FinishedTorrents::hideOrShowColumn(int index) { } for(int i=0; icolumnCount()-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)))); } } }