properly rewind oidentd config file
[quassel.git] / src / qtui / knotificationbackend.cpp
index f189f9e..5adbfbc 100644 (file)
@@ -84,7 +84,7 @@ void KNotificationBackend::removeNotificationById(uint notificationId) {
 
 void KNotificationBackend::close(uint notificationId) {
   removeNotificationById(notificationId);
-  if(!_notifications.count())
+  //if(!_notifications.count()) // FIXME make configurable
     QtUi::mainWindow()->systemTray()->setAlert(false);
 }
 
@@ -112,7 +112,7 @@ void KNotificationBackend::notificationActivated(uint notificationId) {
 
 void KNotificationBackend::updateToolTip() {
   QtUi::mainWindow()->systemTray()->setToolTip("Quassel IRC",
-                                               _notifications.count()? tr("%n pending highlights", "", _notifications.count()) : QString());
+                                               _notifications.count()? tr("%n pending highlight(s)", "", _notifications.count()) : QString());
 }
 
 SettingsPage *KNotificationBackend::createConfigWidget() const {