diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 12:34:58 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 13:43:20 +0200 |
commit | 1e25b81e0d6c1da4643c9cc48680f5cc4399d068 (patch) | |
tree | 39f7a70e11b6b14382673167b6e183f70e3dc6c5 /src/plugins/platforms/windows/qwindowsole.h | |
parent | 23b7e7972ea40afd2594d0570cbcf8192619cd56 (diff) |
Use QList instead of QVector in plugins
Task-number: QTBUG-84469
Change-Id: Ic86f4a3000592a1c9ae62e4a83f4fe39832a6b24
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsole.h')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsole.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/windows/qwindowsole.h b/src/plugins/platforms/windows/qwindowsole.h index 6940657e88..759779c6c3 100644 --- a/src/plugins/platforms/windows/qwindowsole.h +++ b/src/plugins/platforms/windows/qwindowsole.h @@ -43,9 +43,9 @@ #include "qwindowscombase.h" #include <QtCore/qt_windows.h> +#include <QtCore/qlist.h> #include <QtCore/qmap.h> #include <QtCore/qpointer.h> -#include <QtCore/qvector.h> #include <objidl.h> @@ -86,8 +86,8 @@ private: class QWindowsOleEnumFmtEtc : public QWindowsComBase<IEnumFORMATETC> { public: - explicit QWindowsOleEnumFmtEtc(const QVector<FORMATETC> &fmtetcs); - explicit QWindowsOleEnumFmtEtc(const QVector<LPFORMATETC> &lpfmtetcs); + explicit QWindowsOleEnumFmtEtc(const QList<FORMATETC> &fmtetcs); + explicit QWindowsOleEnumFmtEtc(const QList<LPFORMATETC> &lpfmtetcs); ~QWindowsOleEnumFmtEtc() override; bool isNull() const; @@ -102,7 +102,7 @@ private: bool copyFormatEtc(LPFORMATETC dest, const FORMATETC *src) const; ULONG m_nIndex = 0; - QVector<LPFORMATETC> m_lpfmtetcs; + QList<LPFORMATETC> m_lpfmtetcs; bool m_isNull = false; }; |