mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
d834fd2577
commit
94250d4aea
|
@ -38,8 +38,7 @@ SystemTrayIcon::SystemTrayIcon()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_SYSTRAY_GTK_BACKEND
|
#ifdef ENABLE_SYSTRAY_GTK_BACKEND
|
||||||
else if (desktop == "xfce" || desktop.contains("gnome") || (desktop == "kde"
|
else if (desktop == "xfce" || desktop.contains("gnome"))
|
||||||
&& getenv("KDE_SESSION_VERSION") == QString("4")))
|
|
||||||
{
|
{
|
||||||
qDebug() << "SystemTrayIcon: Using GTK backend";
|
qDebug() << "SystemTrayIcon: Using GTK backend";
|
||||||
backendType = SystrayBackendType::GTK;
|
backendType = SystrayBackendType::GTK;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user