From ac496c62f713d910ae1425eb0bbe91f9ab2a26dc Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Sun, 31 May 2009 22:00:44 +0000 Subject: [PATCH] Prevent warnings from showing as dialog boxes that can interupt multiple operations performed in a foreach. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8879 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/bcomm/dircomm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bacula/src/qt-console/bcomm/dircomm.cpp b/bacula/src/qt-console/bcomm/dircomm.cpp index 3877944253..86f52651a3 100644 --- a/bacula/src/qt-console/bcomm/dircomm.cpp +++ b/bacula/src/qt-console/bcomm/dircomm.cpp @@ -381,8 +381,7 @@ int DirComm::read() case BNET_WARNING_MSG: if (mainWin->m_commDebug) Pmsg1(000, "conn %i WARNING MSG\n", m_conn); stat = sock_read(); /* get the message */ - m_console->display_text(msg()); - QMessageBox::critical(m_console, "Warning", msg(), QMessageBox::Ok); + /* QMessageBox::critical(m_console, "Warning", msg(), QMessageBox::Ok); */ break; case BNET_INFO_MSG: if (mainWin->m_commDebug) Pmsg1(000, "conn %i INFO MSG\n", m_conn); -- 2.39.5