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
|
||||
#ifdef ENABLE_SYSTRAY_GTK_BACKEND
|
||||
else if (desktop == "xfce" || desktop.contains("gnome") || (desktop == "kde"
|
||||
&& getenv("KDE_SESSION_VERSION") == QString("4")))
|
||||
else if (desktop == "xfce" || desktop.contains("gnome"))
|
||||
{
|
||||
qDebug() << "SystemTrayIcon: Using GTK backend";
|
||||
backendType = SystrayBackendType::GTK;
|
||||
|
|
Loading…
Reference in New Issue
Block a user