Эх сурвалжийг харах

Move from QList to QVector

Change-Id: I0993e98ddb5a78ab62438152a1d52c5b78be6a81
Donald Carr 8 жил өмнө
parent
commit
074043a8bd

+ 1 - 1
src/picturemodel.cpp

@@ -69,7 +69,7 @@ public:
     void setModelRoot(const QString& rootDir) { this->rootDir = rootDir; }
     void setModelRoot(const QString& rootDir) { this->rootDir = rootDir; }
 
 
     int fileCount() const { return files.length(); }
     int fileCount() const { return files.length(); }
-    QList<FSLeafNode*> files;
+    QVector<FSLeafNode*> files;
 public slots:
 public slots:
     void populate();
     void populate();
 signals:
 signals: