mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Only use StatusNotifier on KDE5
This commit is contained in:
parent
286c963f5d
commit
bee584bdb1
|
@ -38,7 +38,8 @@ SystemTrayIcon::SystemTrayIcon()
|
|||
}
|
||||
#endif
|
||||
#ifdef ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND
|
||||
else if (desktop == "kde")
|
||||
else if (desktop == "kde"
|
||||
&& getenv("KDE_SESSION_VERSION") == QString("5"))
|
||||
{
|
||||
qDebug() << "SystemTrayIcon: Using Status Notifier backend";
|
||||
backendType = SystrayBackendType::StatusNotifier;
|
||||
|
|
Loading…
Reference in New Issue
Block a user