/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
void Console::terminate()
{
if (m_sock) {
- notify(false);
- delete m_notifier;
- m_notifier = NULL;
+ if (m_notifier) {
+ m_notifier->setEnabled(false);
+ delete m_notifier;
+ m_notifier = NULL;
+ }
stopTimer();
m_sock->close();
m_sock = NULL;
*/
#include "bat.h"
+#include "version.h"
#include "joblist/joblist.h"
#include "storage/storage.h"
#include "fileset/fileset.h"
{
m_isClosing = true;
writeSettings();
- /*
- * Close the console pages before non-console pages so that
- * the notifier is turned off. Otherwise it prints an error when
- * the page it is using gets destroyed.
- */
foreach(Console *console, m_consoleHash){
console->writeSettings();
console->terminate();
}
}
}
+ foreach(Console *console, m_consoleHash){
+ console->writeSettings();
+ console->terminate();
+ console->closeStackPage();
+ }
event->accept();
}
void MainWin::about()
{
QMessageBox::about(this, tr("About bat"),
- tr("<br><h2>bat 1.0, by Dirk H Bartley and Kern Sibbald</h2>"
+ tr("<br><h2>bat " VERSION "(" BDATE "), by Dirk H Bartley and Kern Sibbald</h2>"
"<p>Copyright © 2007-" BYEAR " Free Software Foundation Europe e.V."
"<p>The <b>bat</b> is an administrative console"
" interface to the Director."));
General:
+17Apr08
+kes Fix bat seg fault at termination.
+kes Add Bacula generated version to bat about box.
+
16Apr08
kes Experiment with allowing multiple read jobs.
kes Move final volume swapping code to DCR method and