From: Kern Sibbald Date: Wed, 19 Aug 2009 10:56:04 +0000 (+0200) Subject: Minor tweaks to bat X-Git-Tag: Release-5.0.0~332^2~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fdd0e1b8d38e4c26e46661a0fb40828e4e1f3e67;p=bacula%2Fbacula Minor tweaks to bat --- 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