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