}
app->processEvents();
if (m_api_set && m_console->is_messagesPending() && is_notify_enabled() && m_console->hasFocus()) {
+ if (mainWin->m_commDebug) Pmsg1(000, "conn %i process_events\n", m_conn);
m_console->write_dir(m_conn, ".messages", false);
m_console->messagesPending(false);
}
m_console->write_dir(m_conn, ".messages", false);
m_console->displayToPrompt(m_conn);
m_console->messagesPending(false);
+ continue;
}
m_console->messagesPending(true);
continue;
}
if (isWin32Path(fullpath)) {
- Pmsg0(dbglvl, "Windows drive\n");
+ if (mainWin->m_miscDebug) Pmsg0(dbglvl, "Windows drive\n");
if (fullpath.left(1) == "/") {
fullpath.replace(0, 1, ""); /* strip leading / */
}
/* this is the base widget */
item = new QTreeWidgetItem(directoryWidget);
item->setText(0, fullpath.toUtf8().data());
- Pmsg1(dbglvl, "Windows: %s\n", fullpath.toUtf8().data());
+ if (mainWin->m_miscDebug) Pmsg1(dbglvl, "Windows: %s\n", fullpath.toUtf8().data());
item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.png")));
} else {
QTreeWidgetItem *parent = m_dirPaths.value(m_cwd);
QString msg = QString("DoubleClick else of item column %1 fullpath %2\n")
.arg(column,10)
.arg(fullpath);
- Pmsg1(dbglvl, "%s\n", msg.toUtf8().data());
+ if (mainWin->m_miscDebug) Pmsg1(dbglvl, "%s\n", msg.toUtf8().data());
}
}
}