From a078d116d267b30f28e5ee739e3b99cba9b7f524 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 25 Jan 2020 14:33:38 +0100 Subject: [PATCH] Fix ping payload not breaking portable mode (#1516) This payload was initialized before main was called, so before the QApplication was initialized. This broke our portable checker Fixes #1481 --- src/providers/irc/IrcConnection2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/providers/irc/IrcConnection2.cpp b/src/providers/irc/IrcConnection2.cpp index 08ff718bc..ed100149d 100644 --- a/src/providers/irc/IrcConnection2.cpp +++ b/src/providers/irc/IrcConnection2.cpp @@ -6,8 +6,7 @@ namespace chatterino { namespace { - const auto payload = - QString("chatterino/%1").arg(Version::instance().version()); + const auto payload = QString("chatterino/" CHATTERINO_VERSION); } // namespace