From: Eric Bollengier Date: Sat, 24 Oct 2009 15:39:23 +0000 (+0200) Subject: initialize lmgr in bat X-Git-Tag: Release-7.0.0~2598^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4d8835779757ee8d5ec4d2f5a5403f2a0dd7b24;p=bacula%2Fbacula initialize lmgr in bat --- diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index b34b49755c..6e5064b75d 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -58,7 +58,6 @@ static char *configfile = NULL; int main(int argc, char *argv[]) { int ch; - int rc; bool no_signals = true; bool test_config = false; @@ -85,6 +84,7 @@ int main(int argc, char *argv[]) init_stack_dump(); my_name_is(argc, argv, "bat"); + lmgr_init_thread(); init_msg(NULL, NULL); working_directory = "/tmp"; @@ -159,9 +159,7 @@ int main(int argc, char *argv[]) mainWin = new MainWin; mainWin->show(); - rc = app->exec(); -// sm_dump(false); - return rc; + return app->exec(); } void terminate_console(int /*sig*/)