From: Flavio Date: Mon, 7 Jan 2013 16:23:18 +0000 (+0100) Subject: Fix number fo active downloads X-Git-Tag: 2.0~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe61c525003437c99f4ebca8f7caba5cdba0d23c;p=minitube Fix number fo active downloads --- diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 6430205..21115d3 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -156,7 +156,7 @@ void DownloadManager::itemFinished() { } void DownloadManager::updateStatusMessage() { - QString message = tr("%n Download(s)", "", items.size()); + QString message = tr("%n Download(s)", "", activeItems()); emit statusMessageChanged(message); }