diff --git a/src/widget/systemtrayicon.cpp b/src/widget/systemtrayicon.cpp index c8c1e15f2..329c9ce42 100644 --- a/src/widget/systemtrayicon.cpp +++ b/src/widget/systemtrayicon.cpp @@ -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;