more random refactoring

This commit is contained in:
Rasmus Karlsson
2017-06-11 12:00:53 +02:00
parent 1d6f558452
commit 4bfe58f14d
6 changed files with 29 additions and 24 deletions
-2
View File
@@ -101,8 +101,6 @@ void ChatWidget::setChannelName(const QString &_newChannelName)
// update messages
this->messages.clear();
printf("Set channel name xD %s\n", qPrintable(_newChannelName));
if (newChannelName.isEmpty()) {
this->channel = nullptr;
} else {