From 1f52b9cc31105d78fc24251fa201d9ae43dd8c33 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 11 Apr 2016 10:45:48 +0900 Subject: Don't put excess whitespaces in log lines before QStrings - Qt inserts them automatically. --- room.cpp | 10 +++++----- 1 file 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(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(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(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 ) -- cgit v1.2.3