Use QVarLengthArray in QXcbConnection.
authorRobin Burchell <robin.burchell@collabora.com>
Wed, 7 Dec 2011 19:58:04 +0000 (20:58 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Dec 2011 23:44:00 +0000 (00:44 +0100)
commita3b3cfe3b8bde172fa195d6cd12857b9b2e9afa5
tree92b50377465f951eaa7adb1f07d65c2f058a8254
parent23ab6a726a1cac3b7b5b222878e98caa4084681c
Use QVarLengthArray in QXcbConnection.

There's no need in using a QList here, since it's never passed around anywhere;
the reference counting is just unnecessary overhead.

Change-Id: I92107c69f7338acc396e2ac4a69123c6a2becaed
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/xcb/qxcbconnection.cpp
src/plugins/platforms/xcb/qxcbconnection.h