|
|
@ -465,6 +465,7 @@ void GUI::updateDlList(){ |
|
|
|
LCD_DownSpeed->display(tmp2); // DL LCD
|
|
|
|
LCD_DownSpeed->display(tmp2); // DL LCD
|
|
|
|
// browse handles
|
|
|
|
// browse handles
|
|
|
|
foreach(h, handles){ |
|
|
|
foreach(h, handles){ |
|
|
|
|
|
|
|
try{ |
|
|
|
torrent_status torrentStatus = h.status(); |
|
|
|
torrent_status torrentStatus = h.status(); |
|
|
|
QString fileName = QString(h.get_torrent_info().name().c_str()); |
|
|
|
QString fileName = QString(h.get_torrent_info().name().c_str()); |
|
|
|
if(!h.is_paused()){ |
|
|
|
if(!h.is_paused()){ |
|
|
@ -532,6 +533,9 @@ void GUI::updateDlList(){ |
|
|
|
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)-1)); |
|
|
|
DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)-1)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}catch(invalid_handle e){ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|