Replace QVector with QList

This commit is contained in:
Jonas Kvinge
2024-09-24 20:47:43 +02:00
parent 2e6408a4f7
commit 4d4dd6b249
15 changed files with 40 additions and 45 deletions

View File

@@ -26,7 +26,7 @@
#include <QByteArray>
#include <QString>
#include <QImage>
#include <QVector>
#include <QList>
#include <QColor>
#include <QPalette>
#include <QRect>
@@ -34,7 +34,7 @@
class QPainter;
using ColorVector = QVector<QColor>;
using ColorVector = QList<QColor>;
class MoodbarRenderer {
public:
@@ -73,6 +73,6 @@ class MoodbarRenderer {
};
};
Q_DECLARE_METATYPE(QVector<QColor>)
Q_DECLARE_METATYPE(QList<QColor>)
#endif // MOODBARRENDERER_H