]> git.sur5r.net Git - bacula/bacula/commitdiff
fix multi-console problem for bat on win32
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 25 Oct 2009 13:43:31 +0000 (14:43 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 25 Oct 2009 13:43:31 +0000 (14:43 +0100)
bacula/src/qt-console/bcomm/dircomm.cpp

index d710ea86a720768384a196cee860ea1ac9b720d1..86f97478b7e94e1eab52ad9d1a8a8b554929d529 100644 (file)
@@ -468,6 +468,14 @@ bool DirComm::is_notify_enabled() const
    bool enabled = false;
    if (m_notifier)
       enabled = m_notifier->isEnabled();   
+
+/* TODO: Windows doesn't support notifier without some kludge
+ * This cheat seems to work, waiting for a cleaner solution.
+ */
+#ifdef HAVE_WIN32
+   enabled = true;
+#endif
+
    return enabled;
 }