X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2Fconsole%2Fconsole.cpp;h=7c1d9d5a9838d8b5d5573ca3656390cccf9cc568;hb=38ec8126133016e17fbb0fb70dc53f08980e52ef;hp=dcc7d87d637db7f72d2d24c1817db0d0e5dac622;hpb=148c60badcfa2c4eaa5d17fe526f8c77b6fe6b2c;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/console/console.cpp b/bacula/src/qt-console/console/console.cpp index dcc7d87d63..7c1d9d5a98 100644 --- a/bacula/src/qt-console/console/console.cpp +++ b/bacula/src/qt-console/console/console.cpp @@ -612,7 +612,7 @@ void Console::beginNewCommand(int conn) for (int i=0; i < 3; i++) { dircomm->write("."); while (dircomm->read() > 0) { - Pmsg2(000, "begin new command loop %i %s\n", i, m_dir->name()); + if (mainWin->m_commDebug) Pmsg2(000, "begin new command loop %i %s\n", i, m_dir->name()); if (mainWin->m_displayAll) display_text(dircomm->msg()); } if (dircomm->m_at_main_prompt) {