1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Use Qt systray again on KDE4

Fixes #1277
This commit is contained in:
tux3 2015-02-25 11:42:34 +01:00
parent d834fd2577
commit 94250d4aea
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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;