# ifdef HAVE_PHONON
# include "phononnotificationbackend.h"
# endif
+# ifdef HAVE_LIBSNORE
+# include "snorenotificationbackend.h"
+# endif
# include "systraynotificationbackend.h"
# include "taskbarnotificationbackend.h"
#else /* HAVE_KDE */
# ifdef HAVE_PHONON
QtUi::registerNotificationBackend(new PhononNotificationBackend(this));
# endif
-# ifndef QT_NO_SYSTEMTRAYICON
+# ifdef HAVE_LIBSNORE
+ QtUi::registerNotificationBackend(new SnoreNotificationBackend(this));
+# elif !defined(QT_NO_SYSTEMTRAYICON)
QtUi::registerNotificationBackend(new SystrayNotificationBackend(this));
# endif
void MainWin::bufferViewToggled(bool enabled)
{
- if (!enabled && !isVisible()) {
+ if (!enabled && !isMinimized()) {
// hiding the mainwindow triggers a toggle of the bufferview (which pretty much sucks big time)
// since this isn't our fault and we can't do anything about it, we suppress the resulting calls
return;