From: Eric Bollengier Date: Sun, 25 Oct 2009 13:43:31 +0000 (+0100) Subject: fix multi-console problem for bat on win32 X-Git-Tag: Release-5.0.0~281^2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9cb62993d54183a7491c25900a670d7bfca9f6c;p=bacula%2Fbacula fix multi-console problem for bat on win32 --- diff --git a/bacula/src/qt-console/bcomm/dircomm.cpp b/bacula/src/qt-console/bcomm/dircomm.cpp index d710ea86a7..86f97478b7 100644 --- a/bacula/src/qt-console/bcomm/dircomm.cpp +++ b/bacula/src/qt-console/bcomm/dircomm.cpp @@ -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; }