From a808ecf29ed27247919b86a0b310bccdedf96197 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 13 Jun 2016 20:23:29 +0900 Subject: Dropped unused code Previously Room::Private used to have a gotMessages() slot; now that it doesn't, it doesn't need to be a QObject either. --- room.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/room.cpp b/room.cpp index 81b64c54..772d9f58 100644 --- a/room.cpp +++ b/room.cpp @@ -41,7 +41,7 @@ using namespace QMatrixClient; -class Room::Private: public QObject +class Room::Private { public: /** Map of user names to users. User names potentially duplicate, hence a multi-hashmap. */ @@ -52,7 +52,7 @@ class Room::Private: public QObject Room* q; //static LogMessage* parseMessage(const QJsonObject& message); - void gotMessages(KJob* job); + // This updates the room displayname field (which is the way a room should be shown in the room list) // It should be called whenever the list of members or the room name (m.room.name) or canonical alias change. void updateDisplayname(); -- cgit v1.2.3