Switch to QVector instead of QList. Insertions aren't really needed.

This commit is contained in:
Luca Beltrame 2013-07-20 11:44:27 +02:00
commit 1886dbf53c
3 changed files with 7 additions and 6 deletions

View file

@ -30,7 +30,7 @@
**/
#include <QAbstractListModel>
#include <QList>
#include <QVector>
namespace Danbooru {
@ -59,7 +59,7 @@ namespace Danbooru {
QVariant data(const QModelIndex& index, int role) const;
private:
QList<DanbooruPost*> m_posts;
QVector<DanbooruPost*> m_posts;
public Q_SLOTS:
/**