return;
}
m_waitState = true;
- if (mainWin->m_connDebug)
- Pmsg0(000, "Entering Wait State\n");
+ if (mainWin->m_connDebug) Pmsg0(000, "Entering Wait State\n");
app->setOverrideCursor(QCursor(Qt::WaitCursor));
disconnectSignals();
disconnectConsoleSignals(m_currentConsole);
void MainWin::restoreButtonClicked()
{
new prerestorePage();
+ if (mainWin->m_miscDebug) Pmsg0(000, "in restoreButtonClicked after prerestorePage\n");
}
void MainWin::jobPlotButtonClicked()
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-2009 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2010 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.
dockPage();
setCurrent();
this->show();
+ if (mainWin->m_miscDebug) Pmsg0(000, "Leave preRestore\n");
}
if (mainWin->m_commandDebug) {
Pmsg1(000, "preRestore command \'%s\'\n", cmd.toUtf8().data());
}
+ /*
+ * Send off command that looks something like:
+ *
+ * restore fileset="Full Set" client="timmy-fd"
+ * storage="File" current select
+ */
m_console->write_dir(m_conn, cmd.toUtf8().data());
/* Note, do not turn notifier back on here ... */
mainWin->resetFocus();
}
m_console->notify(m_conn, true);
+ if (mainWin->m_miscDebug) Pmsg0(000, "preRestore OK pressed\n");
}
} /* foreach resultline */
} /* if results from query */
- /* FIXME This should not be getting more than one ever */
- if(results.count() >= 1) return 1;
- else return 0;
+ /* ***FIXME*** This should not ever be getting more than one */
+ return results.count() >= 1;
}
/*
selectJobRadio->setChecked(false);
selectJobIdsRadio->setChecked(true);
}
- Dmsg2(200, "jobRadio=%d jobidsRadio=%d\n", selectJobRadio->isChecked(),
+ if (mainWin->m_miscDebug) {
+ Pmsg2(000, "jobRadio=%d jobidsRadio=%d\n", selectJobRadio->isChecked(),
selectJobIdsRadio->isChecked());
+ }
}
void prerestorePage::jobidsRadioClicked(bool checked)
selectJobRadio->setChecked(true);
selectJobIdsRadio->setChecked(false);
}
- Dmsg2(200, "jobRadio=%d jobidsRadio=%d\n", selectJobRadio->isChecked(),
+ if (mainWin->m_miscDebug) {
+ Pmsg2(000, "jobRadio=%d jobidsRadio=%d\n", selectJobRadio->isChecked(),
selectJobIdsRadio->isChecked());
+ }
}
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-2009 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2010 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.
*/
/*
- * Version $Id$
- *
* Restore Class
*
* Kern Sibbald, February MMVII
dockPage();
setCurrent();
this->show();
+ if (mainWin->m_miscDebug) Pmsg0(000, "Leave restorePage\n");
}
restorePage::~restorePage()