Browse Source

- Fixed compilation warning

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
be34bed61a
  1. 2
      src/FinishedTorrents.cpp

2
src/FinishedTorrents.cpp

@ -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…
Cancel
Save