diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-09 16:27:32 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-10 16:17:01 +0900 |
commit | 2b4952b6686f647c5470033de2cb14577cfb41f1 (patch) | |
tree | 3d5b3035e61726ae3c8b0934d82d9cd3a7ed96fe | |
parent | c46fccdfacaa299eee9bfb96d86d2c784db3e9ca (diff) | |
download | libquotient-2b4952b6686f647c5470033de2cb14577cfb41f1.tar.gz libquotient-2b4952b6686f647c5470033de2cb14577cfb41f1.zip |
Log room creation only once
-rw-r--r-- | connection.cpp | 1 | ||||
-rw-r--r-- | room.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/connection.cpp b/connection.cpp index 368abc8e..d4f6bf61 100644 --- a/connection.cpp +++ b/connection.cpp @@ -446,7 +446,6 @@ Room* Connection::provideRoom(const QString& id, JoinState joinState) return nullptr; } d->roomMap.insert(roomKey, room); - qCDebug(MAIN) << "Created Room" << id << ", invited:" << roomKey.second; emit newRoom(room); } if (joinState == JoinState::Invite) @@ -146,7 +146,7 @@ Room::Room(Connection* connection, QString id, JoinState initialJoinState) // See "Accessing the Public Class" section in // https://marcmutz.wordpress.com/translated-articles/pimp-my-pimpl-%E2%80%94-reloaded/ d->q = this; - qCDebug(MAIN) << "New Room:" << id; + qCDebug(MAIN) << "New" << toCString(initialJoinState) << "Room:" << id; } Room::~Room() |