]> git.sur5r.net Git - bacula/bacula/commitdiff
Turn off bat debug code when debug off
authorKern Sibbald <kern@sibbald.com>
Wed, 9 Jul 2008 09:17:40 +0000 (09:17 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 9 Jul 2008 09:17:40 +0000 (09:17 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7348 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/mainwin.cpp

index c8ddf00dab0a6edf3c54e7510ef944ac9b742f41..d61302b23d7dada266e6e8f43f040a9316c87f71 100644 (file)
@@ -100,7 +100,7 @@ MainWin::MainWin(QWidget *parent) : QMainWindow(parent)
    if (m_miscDebug) {
       QString directoryResourceName;
       m_currentConsole->getDirResName(directoryResourceName);
-      Pmsg1(000, "Setting initial window to %s\n", directoryResourceName.toUtf8().data());
+      Pmsg1(100, "Setting initial window to %s\n", directoryResourceName.toUtf8().data());
    }
 }
 
@@ -458,7 +458,7 @@ void MainWin::statusPageButtonClicked()
    bool found = false;
    foreach(Pages *page, m_pagehash) {
       if (m_currentConsole == page->console()) {
-        if (page->name() == tr("Director Status")) {
+         if (page->name() == tr("Director Status")) {
             found = true;
             page->setCurrent();
          }
@@ -825,8 +825,8 @@ void MainWin::readPreferences()
    settings.beginGroup("Misc");
    m_longList = settings.value("longList", false).toBool();
    ItemFormatterBase::setBytesConversion(
-        (ItemFormatterBase::BYTES_CONVERSION) settings.value("byteConvert", 
-        ItemFormatterBase::BYTES_CONVERSION_IEC).toInt());
+         (ItemFormatterBase::BYTES_CONVERSION) settings.value("byteConvert", 
+         ItemFormatterBase::BYTES_CONVERSION_IEC).toInt());
    m_openPlot = settings.value("openplot", false).toBool();
    m_openBrowser = settings.value("openbrowser", false).toBool();
    m_openDirStat = settings.value("opendirstat", false).toBool();
@@ -847,4 +847,3 @@ void MainWin::readPreferences()
    settings.endGroup();
 }
 
-