telepathy-qt: contact-manager: Change QMap to QHash where possible

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


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

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

contact-manager: Change QMap to QHash where possible

---

 TelepathyQt/contact-manager.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TelepathyQt/contact-manager.cpp b/TelepathyQt/contact-manager.cpp
index 573ab03..20ec927 100644
--- a/TelepathyQt/contact-manager.cpp
+++ b/TelepathyQt/contact-manager.cpp
@@ -61,9 +61,9 @@ struct TP_QT_NO_EXPORT ContactManager::Private
     WeakPtr<Connection> connection;
     ContactManager::Roster *roster;
 
-    QMap<uint, WeakPtr<Contact> > contacts;
+    QHash<uint, WeakPtr<Contact> > contacts;
 
-    QMap<Feature, bool> tracking;
+    QHash<Feature, bool> tracking;
     Features supportedFeatures;
 
     // avatar



More information about the telepathy-commits mailing list