/***************************************************************************
- * Copyright (C) 2005-2010 by the Quassel Project *
+ * Copyright (C) 2005-2012 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
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 */