]> git.sur5r.net Git - minitube/blobdiff - src/downloadmanager.h
Upload 3.9.3-2 to unstable
[minitube] / src / downloadmanager.h
index a07d7e394b3fdc050c40a41a1ca4b8f47ed3257b..1d1bb6597c43545401ad02e2e340546806972080 100644 (file)
@@ -21,7 +21,7 @@ $END_LICENSE */
 #ifndef DOWNLOADMANAGER_H
 #define DOWNLOADMANAGER_H
 
-#include <QtGui>
+#include <QtWidgets>
 
 class DownloadItem;
 class DownloadModel;
@@ -35,7 +35,7 @@ public:
     static DownloadManager* instance();
     void clear();
     void addItem(Video *video);
-    const QList<DownloadItem*> getItems() { return items; }
+    const QVector<DownloadItem*> getItems() { return items; }
     DownloadModel* getModel() { return downloadModel; }
     DownloadItem* itemForVideo(Video *video);
     int activeItems();
@@ -54,7 +54,7 @@ private slots:
 private:
     DownloadManager(QWidget *parent = 0);
 
-    QList<DownloadItem*> items;
+    QVector<DownloadItem*> items;
     DownloadModel *downloadModel;
 
 };