telepathy-qt: optional-interface-factory: Change QMap to QHash where possible

Dario Freddi drf at kemper.freedesktop.org
Mon Jul 2 06:56:35 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 68de1c4efaf1e5499028c21c16bbe7ecc18732e0
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=68de1c4efaf1e5499028c21c16bbe7ecc18732e0

Author: Dario Freddi <dario.freddi at collabora.com>
Date:   Sun Apr 29 16:07:00 2012 +0200

optional-interface-factory: Change QMap to QHash where possible

---

 TelepathyQt/optional-interface-factory.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TelepathyQt/optional-interface-factory.cpp b/TelepathyQt/optional-interface-factory.cpp
index 4b0f8b8..e512962 100644
--- a/TelepathyQt/optional-interface-factory.cpp
+++ b/TelepathyQt/optional-interface-factory.cpp
@@ -26,7 +26,7 @@
 
 #include "TelepathyQt/debug-internal.h"
 
-#include <QMap>
+#include <QHash>
 #include <QString>
 
 namespace Tp
@@ -37,7 +37,7 @@ namespace Tp
 struct TP_QT_NO_EXPORT OptionalInterfaceCache::Private
 {
     QObject *proxy;
-    QMap<QString, AbstractInterface*> interfaces;
+    QHash<QString, AbstractInterface*> interfaces;
 
     Private(QObject *proxy);
 };



More information about the telepathy-commits mailing list