diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-06-13 20:23:29 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-06-13 20:23:29 +0900 |
commit | a808ecf29ed27247919b86a0b310bccdedf96197 (patch) | |
tree | 7241fe1514e6fa6cb67f891812cf990168372fe5 | |
parent | 69c3aee424ce717af8743df0470e3a6433d43e02 (diff) | |
download | libquotient-a808ecf29ed27247919b86a0b310bccdedf96197.tar.gz libquotient-a808ecf29ed27247919b86a0b310bccdedf96197.zip |
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.
-rw-r--r-- | room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |