aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-04-11 10:45:48 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-04-11 10:45:48 +0900
commit1f52b9cc31105d78fc24251fa201d9ae43dd8c33 (patch)
tree51f30e7e462602fefd070a583e73528f0757d21e
parentaf5fb5e0ffec87d59a7b0df778d226efc3132e57 (diff)
downloadlibquotient-1f52b9cc31105d78fc24251fa201d9ae43dd8c33.tar.gz
libquotient-1f52b9cc31105d78fc24251fa201d9ae43dd8c33.zip
Don't put excess whitespaces in log lines before QStrings - Qt inserts them automatically.
-rw-r--r--room.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/room.cpp b/room.cpp
index 07128844..11faf104 100644
--- a/room.cpp
+++ b/room.cpp
@@ -71,14 +71,14 @@ Room::Room(Connection* connection, QString id)
d->connection = connection;
d->joinState = JoinState::Join;
d->gettingNewContent = false;
- qDebug() << "New Room: " << id;
+ qDebug() << "New Room:" << id;
//connection->getMembers(this); // I don't think we need this anymore in r0.0.1
}
Room::~Room()
{
- qDebug() << "deconstructing room " << this;
+ qDebug() << "deconstructing room" << this;
delete d;
}
@@ -302,7 +302,7 @@ void Room::processStateEvent(Event* event)
if (RoomNameEvent* nameEvent = static_cast<RoomNameEvent*>(event))
{
d->name = nameEvent->name();
- qDebug() << "room name: " << d->name;
+ qDebug() << "room name:" << d->name;
emit namesChanged(this);
} else
{
@@ -314,14 +314,14 @@ void Room::processStateEvent(Event* event)
{
RoomAliasesEvent* aliasesEvent = static_cast<RoomAliasesEvent*>(event);
d->aliases = aliasesEvent->aliases();
- qDebug() << "room aliases: " << d->aliases;
+ qDebug() << "room aliases:" << d->aliases;
emit namesChanged(this);
}
if( event->type() == EventType::RoomCanonicalAlias )
{
RoomCanonicalAliasEvent* aliasEvent = static_cast<RoomCanonicalAliasEvent*>(event);
d->canonicalAlias = aliasEvent->alias();
- qDebug() << "room canonical alias: " << d->canonicalAlias;
+ qDebug() << "room canonical alias:" << d->canonicalAlias;
emit namesChanged(this);
}
if( event->type() == EventType::RoomTopic )