path: root/src/gui/painting/qcolor.h
diff options
authorLars Knoll <>2019-05-22 15:57:45 +0200
committerLars Knoll <>2019-10-30 11:52:43 +0100
commit1299a2330ae14a6a901f574ea01fc63715e1b87d (patch)
tree346c04881a5af47df7353201e20f2ffd65edcd77 /src/gui/painting/qcolor.h
parent5df1cf38e3d400fe1fb175c913f759b7fa9b68a4 (diff)
Move QListSpecialMethods over to QVector
Extend QVector with special methods for QByteArray and QString, just as QList had them in Qt 5. This also means that QStringList and QByteArrayList are now implemented through a QVector, not a QList anymore. QListIterator<QString> is now slightly source incompatible as QStringList is a QVector, but that will be fixed in a follow-up change when QList<QString> will start mapping to a QVector. Change-Id: I7cfb8a72d4d95b347bbd386892f244b7203b41c2 Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'src/gui/painting/qcolor.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h
index f0d7dd23ad..c3111f9e3b 100644
--- a/src/gui/painting/qcolor.h
+++ b/src/gui/painting/qcolor.h
@@ -46,6 +46,8 @@
#include <QtCore/qstringlist.h>
#include <QtGui/qrgba64.h>
+#include <limits.h>