From 4f725d9ca45af3fa64d5155a9a7023bbfcef6ca5 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 19 Aug 2009 12:56:04 +0200 Subject: [PATCH] Minor tweaks to bat --- bacula/src/qt-console/console/console.cpp | 4 ++++ bacula/src/qt-console/main.cpp | 5 ++++- bacula/technotes | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bacula/src/qt-console/console/console.cpp b/bacula/src/qt-console/console/console.cpp index 4201d61ce2..f107594864 100644 --- a/bacula/src/qt-console/console/console.cpp +++ b/bacula/src/qt-console/console/console.cpp @@ -50,6 +50,10 @@ Console::Console(QTabWidget *parent) m_console = this; m_warningPrevent = false; m_dircommCounter = 0; + + /* + * Create a connection to the Director and put it in a hash table + */ m_dircommHash.insert(m_dircommCounter, new DirComm(this, m_dircommCounter)); setupUi(this); diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index 6d9f917bf0..b34b49755c 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -58,6 +58,7 @@ static char *configfile = NULL; int main(int argc, char *argv[]) { int ch; + int rc; bool no_signals = true; bool test_config = false; @@ -158,7 +159,9 @@ int main(int argc, char *argv[]) mainWin = new MainWin; mainWin->show(); - return app->exec(); + rc = app->exec(); +// sm_dump(false); + return rc; } void terminate_console(int /*sig*/) diff --git a/bacula/technotes b/bacula/technotes index 1e58c494c0..5a72b91f8e 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -2,6 +2,8 @@ General: +19Aug09 +kes Ensure timestamp put in SQL log 15Aug09 kes Modify acquire alogrithm so jobs do not block during despooling This can give significantly more parallelism -- 2.39.5