mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Set prgname and application name before glibmm initialization
This ensures possible warnings use right process name
This commit is contained in:
parent
fc8d1e21e8
commit
b62e1d5036
1 changed files with 3 additions and 3 deletions
|
@ -724,12 +724,12 @@ void start() {
|
||||||
qputenv("PULSE_PROP_application.icon_name", base::IconName().toLatin1());
|
qputenv("PULSE_PROP_application.icon_name", base::IconName().toLatin1());
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
Glib::init();
|
|
||||||
Gio::init();
|
|
||||||
|
|
||||||
Glib::set_prgname(cExeName().toStdString());
|
Glib::set_prgname(cExeName().toStdString());
|
||||||
Glib::set_application_name(AppName.data());
|
Glib::set_application_name(AppName.data());
|
||||||
|
|
||||||
|
Glib::init();
|
||||||
|
Gio::init();
|
||||||
|
|
||||||
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
||||||
g_warning(
|
g_warning(
|
||||||
"Application has been built with foreign rlottie, "
|
"Application has been built with foreign rlottie, "
|
||||||
|
|
Loading…
Add table
Reference in a new issue