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-7.0.0~2598^2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6fd17b285e5531240cc9f1afa1e25c43e472ef3;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; }