improving code quality

This commit is contained in:
fourtf
2018-08-10 19:00:14 +02:00
parent edfae49cc9
commit cf9560508c
23 changed files with 143 additions and 232 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ void NativeMessagingServer::ReceiverThread::handleMessage(
if (_type == "twitch") {
postToThread([=] {
if (!name.isEmpty()) {
app->twitch.server->watchingChannel.update(
app->twitch.server->watchingChannel.reset(
app->twitch.server->getOrAddChannel(name));
}
+1 -1
View File
@@ -1,7 +1,7 @@
#pragma once
#include "common/SerializeCustom.hpp"
#include "common/Singleton.hpp"
#include "util/RapidJsonSerializeQString.hpp"
#include <QBrush>
#include <QColor>