diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index f04d9b13d..c94e0118f 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -1466,7 +1466,7 @@ void Bittorrent::readAlerts() { if(h.is_paused()) { // XXX: Unfortunately libtorrent-rasterbar does not send a torrent_paused_alert // and the torrent can be paused when metadata is received - emit torrentPaused(h); + emit pausedTorrent(h); } } } @@ -1478,7 +1478,7 @@ void Bittorrent::readAlerts() { if(h.is_valid()) { emit fullDiskError(h, misc::toQString(p->message())); h.pause(); - emit torrentPaused(h); + emit pausedTorrent(h); } } } diff --git a/src/bittorrent.h b/src/bittorrent.h index c12027d64..583c9cd86 100644 --- a/src/bittorrent.h +++ b/src/bittorrent.h @@ -215,7 +215,6 @@ signals: void downloadFromUrlFailure(QString url, QString reason); void torrentFinishedChecking(QTorrentHandle& h); void metadataReceived(QTorrentHandle &h); - void torrentPaused(QTorrentHandle &h); }; #endif diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index 3e558c421..82f7ef8d3 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -287,7 +287,6 @@ void PropertiesWidget::reloadPreferences() { void PropertiesWidget::loadDynamicData() { // Refresh only if the torrent handle is valid and if visible if(!h.is_valid() || main_window->getCurrentTabIndex() != TAB_TRANSFER || state != VISIBLE) return; - qDebug("Refreshing torrent properties"); try { // Transfer infos if(stackedProperties->currentIndex() == MAIN_TAB) { diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index 2e11b935a..a7997d741 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -389,7 +389,6 @@ void TransferListWidget::setRefreshInterval(int t) { void TransferListWidget::refreshList() { // Refresh only if displayed if(main_window->getCurrentTabIndex() != TAB_TRANSFER) return; - qDebug("Refreshing transfer list"); unsigned int nb_downloading = 0, nb_seeding=0, nb_active=0, nb_inactive = 0; for(int i=0; irowCount(); ++i) { int s = updateTorrent(i);