X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2Frun%2Fprune.cpp;h=e37d82439a30f4f4a7637027343d0eff28875f9e;hb=0013bc22b1c690b331db1d0776efccd7c3b90084;hp=cf6c4b71a1198d9542c678c20e624d2477821ef2;hpb=908d0c5a7c352c4473409fd01cab16d968c41b43;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/run/prune.cpp b/bacula/src/qt-console/run/prune.cpp index cf6c4b71a1..e37d82439a 100644 --- a/bacula/src/qt-console/run/prune.cpp +++ b/bacula/src/qt-console/run/prune.cpp @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2007-2008 Free Software Foundation Europe e.V. + Copyright (C) 2007-2009 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. @@ -47,7 +47,7 @@ prunePage::prunePage(const QString &volume, const QString &client) m_name = tr("Prune"); pgInitialize(); setupUi(this); - m_console->notify(false); + m_conn = m_console->notifyOff(); QString query("SELECT VolumeName AS Media FROM Media ORDER BY Media"); if (mainWin->m_sqlDebug) { @@ -113,7 +113,7 @@ void prunePage::okButtonPushed() } consoleCommand(cmd); - m_console->notify(true); + m_console->notify(m_conn, true); closeStackPage(); mainWin->resetFocus(); } @@ -123,7 +123,7 @@ void prunePage::cancelButtonPushed() { mainWin->set_status(tr(" Canceled")); this->hide(); - m_console->notify(true); + m_console->notify(m_conn, true); closeStackPage(); mainWin->resetFocus(); }