foreach(Console *console, m_consoleHash) {
console->connect_dir();
}
+ /*
+ * Note, the notifier is now a global flag, although each notifier
+ * can be individually turned on and off at a socket level. Once
+ * the notifier is turned off, we don't accept anything from anyone
+ * this prevents unwanted messages from getting into the input
+ * dialogs such as restore that read from the director and "know"
+ * what to expect.
+ */
+ m_notify = true;
m_currentConsole = (Console*)getFromHash(m_firstItem);
QTimer::singleShot(2000, this, SLOT(popLists()));
if (m_miscDebug) {
* Create instances in alphabetic order of the rest
* of the classes that will by default exist under each Director.
*/
-// new bRestore();
+ new bRestore();
new Clients();
new FileSet();
new Jobs();
*/
void MainWin::waitEnter()
{
- if (m_waitState){
- if (mainWin->m_connDebug)
- Pmsg0(000, "Should Never Get Here DANGER DANGER, for now I'll return\n");
+ if (m_waitState || m_isClosing) {
return;
}
m_waitState = true;
if (!m_waitState || m_isClosing) {
return;
}
- m_waitState = false;
if (mainWin->m_connDebug) Pmsg0(000, "Exiting Wait State\n");
if (m_waitTreeItem && (m_waitTreeItem != treeWidget->currentItem())) {
treeWidget->setCurrentItem(m_waitTreeItem);
connectConsoleSignals();
}
app->restoreOverrideCursor();
+ m_waitState = false;
}
void MainWin::connectConsoleSignals()
settings.endGroup();
settings.beginGroup("JobList");
m_recordLimitCheck = settings.value("recordLimitCheck", true).toBool();
- m_recordLimitVal = settings.value("recordLimitVal", 150).toInt();
+ m_recordLimitVal = settings.value("recordLimitVal", 50).toInt();
m_daysLimitCheck = settings.value("daysLimitCheck", false).toBool();
m_daysLimitVal = settings.value("daysLimitVal", 28).toInt();
settings.endGroup();