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
This commit is contained in:
pajlada 2020-01-25 14:33:38 +01:00 committed by GitHub
parent 4b1202437b
commit a078d116d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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