]> git.sur5r.net Git - minitube/commitdiff
Fix number fo active downloads
authorFlavio <flavio@odisseo.local>
Mon, 7 Jan 2013 16:23:18 +0000 (17:23 +0100)
committerFlavio <flavio@odisseo.local>
Mon, 7 Jan 2013 16:23:18 +0000 (17:23 +0100)
src/downloadmanager.cpp

index 64302056e65a2ac5f6b9760d64598654937ae64a..21115d3ceab2fd759b344e10080ad7366a67696d 100644 (file)
@@ -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);
 }