Skip to content

Commit 8bc9dff

Browse files
committed
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: Ibe91f99df65861fd9a272afa11e812c7664af702 Reviewed-by: Jesus Fernandez <[email protected]>
1 parent 2518ee6 commit 8bc9dff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/plugins/platforms/webgl/qwebglcontext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ struct GLFunction
325325

326326
static QHash<QString, const GLFunction *> byName;
327327
static QStringList remoteFunctionNames;
328-
using ParameterList = QVector<Parameter>;
328+
using ParameterList = QList<Parameter>;
329329

330330
GLFunction(const QString &remoteName,
331331
const QString &localName,

src/plugins/platforms/webgl/qwebglintegration_p.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class QWebGLIntegrationPrivate
6464

6565
struct ClientData
6666
{
67-
QVector<QWebGLWindow *> platformWindows;
67+
QList<QWebGLWindow *> platformWindows;
6868
QWebSocket *socket;
6969
QWebGLScreen *platformScreen = nullptr;
7070
};
@@ -88,11 +88,11 @@ class QWebGLIntegrationPrivate
8888
QList<ClientData> list;
8989
QMutex mutex;
9090
} clients;
91-
mutable QVector<QWindow *> windows;
91+
mutable QList<QWindow *> windows;
9292

9393
QMutex waitMutex;
9494
QWaitCondition waitCondition;
95-
QVector<int> pendingResponses;
95+
QList<int> pendingResponses;
9696
QHash<int, QVariant> receivedResponses;
9797
QTouchDevice *touchDevice = nullptr;
9898

0 commit comments

Comments
 (0)