private:
QTimer _blinkTimer;
bool _blinkState;
- bool _isVisible;
uint _lastMessageId;
#ifdef HAVE_KDE
// inlines
-bool LegacySystemTray::isSystemTrayAvailable() const { return QSystemTrayIcon::isSystemTrayAvailable(); }
+bool LegacySystemTray::isSystemTrayAvailable() const {
+ return mode() == Legacy ? QSystemTrayIcon::isSystemTrayAvailable()
+ : SystemTray::isSystemTrayAvailable();
+}
#endif /* QT_NO_SYSTEMTRAYICON */