From a4ccc935185947dcea8287d59b1a7dd341bfb7c0 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 14 Mar 2015 03:25:14 +0100 Subject: [PATCH] Make the devices list a vector It's the suggested data type to use according to: https://marcmutz.wordpress.com/effective-qt/containers/ --- interfaces/devicesmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/devicesmodel.h b/interfaces/devicesmodel.h index 6fc0acd27..009f5b1dd 100644 --- a/interfaces/devicesmodel.h +++ b/interfaces/devicesmodel.h @@ -83,7 +83,7 @@ private: void clearDevices(); DaemonDbusInterface* m_dbusInterface; - QList m_deviceList; + QVector m_deviceList; StatusFlags m_displayFilter; };