aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-06-13 20:23:29 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-06-13 20:23:29 +0900
commita808ecf29ed27247919b86a0b310bccdedf96197 (patch)
tree7241fe1514e6fa6cb67f891812cf990168372fe5
parent69c3aee424ce717af8743df0470e3a6433d43e02 (diff)
downloadlibquotient-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.cpp4
1 files 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();