mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Set the application name, version, and domain (#1680)
This helps window and desktop managers figure out what to do with Chatterino
This commit is contained in:
parent
001dce5da1
commit
1a4a468ab1
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue