]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/mount/mount.cpp
Did not intend to leave those debugging lines there.
[bacula/bacula] / bacula / src / qt-console / mount / mount.cpp
index 68326056390cdae8512d4ae84660bca24c0de10b..3f7ec7dda809a3cf4089dd43b4d9e0fdb0578804 100644 (file)
@@ -20,7 +20,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   Bacula® is a registered trademark of Kern Sibbald.
    The licensor of Bacula is the Free Software Foundation Europe
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
@@ -44,7 +44,7 @@ mountDialog::mountDialog(Console *console, QString &storageName)
 {
    m_console = console;
    m_storageName = storageName;
-   m_console->notify(false);
+   m_conn = m_console->notifyOff();
    setupUi(this);
    this->show();
 
@@ -74,8 +74,8 @@ void mountDialog::accept()
    m_console->display_text(tr("Director Response :\n\n"));
 
    m_console->write_dir(scmd.toUtf8().data());
-   m_console->displayToPrompt();
-   m_console->notify(true);
+   m_console->displayToPrompt(m_conn);
+   m_console->notify(m_conn, true);
    delete this;
    mainWin->resetFocus();
 }
@@ -83,7 +83,7 @@ void mountDialog::accept()
 void mountDialog::reject()
 {
    this->hide();
-   m_console->notify(true);
+   m_console->notify(m_conn, true);
    delete this;
    mainWin->resetFocus();
 }