From 1a4a468ab1c6ed6a876a10762d7023596a7997ea Mon Sep 17 00:00:00 2001 From: apa420 <17131426+apa420@users.noreply.github.com> Date: Sun, 10 May 2020 10:54:55 +0200 Subject: [PATCH] Set the application name, version, and domain (#1680) This helps window and desktop managers figure out what to do with Chatterino --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index dfb42904b..200ccd945 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,6 +21,10 @@ int main(int argc, char **argv) { QApplication a(argc, argv); + QCoreApplication::setApplicationName("chatterino"); + QCoreApplication::setApplicationVersion(CHATTERINO_VERSION); + QCoreApplication::setOrganizationDomain("https://www.chatterino.com"); + // convert char** to QStringList auto args = QStringList(); std::transform(argv + 1, argv + argc, std::back_inserter(args),