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:
@@ -6,8 +6,7 @@ namespace chatterino {
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const auto payload =
|
const auto payload = QString("chatterino/" CHATTERINO_VERSION);
|
||||||
QString("chatterino/%1").arg(Version::instance().version());
|
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user