diff --git a/src/GUI.cpp b/src/GUI.cpp index 02ca89f03..6caea2afb 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -149,7 +149,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis vSplitter->setCollapsible(0, true); vSplitter->setCollapsible(1, false); tabs->addTab(vSplitter, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")), tr("Transfers")); - connect(transferList, SIGNAL(torrentStatusUpdate(uint,uint,uint,uint)), this, SLOT(updateNbTorrents(uint,uint,uint,uint))); + connect(transferList, SIGNAL(torrentStatusUpdate(uint,uint,uint,uint,uint)), this, SLOT(updateNbTorrents(uint,uint,uint,uint,uint))); vboxLayout->addWidget(tabs); // Transfer list slots @@ -313,9 +313,10 @@ void GUI::displayRSSTab(bool enable) { } } -void GUI::updateNbTorrents(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive) { +void GUI::updateNbTorrents(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive, unsigned int nb_paused) { Q_UNUSED(nb_downloading); Q_UNUSED(nb_seeding); + Q_UNUSED(nb_paused); tabs->setTabText(0, tr("Transfers (%1)").arg(QString::number(nb_inactive+nb_active))); } diff --git a/src/GUI.h b/src/GUI.h index 744e4aa5c..7830590d3 100644 --- a/src/GUI.h +++ b/src/GUI.h @@ -77,7 +77,7 @@ public slots: void showNotificationBaloon(QString title, QString msg) const; void downloadFromURLList(const QStringList& urls); void updateAltSpeedsBtn(bool alternative); - void updateNbTorrents(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive); + void updateNbTorrents(unsigned int nb_downloading, unsigned int nb_seeding, unsigned int nb_active, unsigned int nb_inactive, unsigned int nb_paused); protected slots: // GUI related slots