summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qcollator_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qcollator_p.h')
-rw-r--r--src/corelib/text/qcollator_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/text/qcollator_p.h b/src/corelib/text/qcollator_p.h
index 304c7135e1..b1a483c4e2 100644
--- a/src/corelib/text/qcollator_p.h
+++ b/src/corelib/text/qcollator_p.h
@@ -54,7 +54,7 @@
#include <QtCore/private/qglobal_p.h>
#include "qcollator.h"
-#include <QVector>
+#include <QList>
#if QT_CONFIG(icu)
#include <unicode/ucol.h>
#elif defined(Q_OS_MACOS)
@@ -72,7 +72,7 @@ const CollatorType NoCollator = nullptr;
#elif defined(Q_OS_MACOS)
typedef CollatorRef CollatorType;
-typedef QVector<UCCollationValue> CollatorKeyType;
+typedef QList<UCCollationValue> CollatorKeyType;
const CollatorType NoCollator = 0;
#elif defined(Q_OS_WIN)
@@ -81,7 +81,7 @@ typedef int CollatorType;
const CollatorType NoCollator = 0;
#else // posix - ignores CollatorType collator, only handles system locale
-typedef QVector<wchar_t> CollatorKeyType;
+typedef QList<wchar_t> CollatorKeyType;
typedef bool CollatorType;
const CollatorType NoCollator = false;
#endif