item->setText(0, newdir.toUtf8().data());
item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.png")));
directoryWidget->expandItem(parent);
- Pmsg1(dbglvl, "%s\n", newdir.toUtf8().data());
+ if (mainWin->m_miscDebug) {
+ Pmsg1(dbglvl, "%s\n", newdir.toUtf8().data());
+ }
} else {
ok = false;
if (mainWin->m_miscDebug) {
if (item->text(1).endsWith("/")) {
QString fullpath = m_cwd + item->text(1);
QTreeWidgetItem *item = m_dirPaths.value(fullpath);
- Pmsg1(dbglvl, "%s\n", fullpath.toUtf8().data());
+ if (mainWin->m_miscDebug) {
+ Pmsg1(dbglvl, "%s\n", fullpath.toUtf8().data());
+ }
if (item) {
directoryWidget->setCurrentItem(item);
} else {
foreach(item, items) {
rx.indexIn(item);
val = rx.cap(1);
- Dmsg1(000, "Item=%s\n", item.toUtf8().data());
- Dmsg1(000, "Value=%s\n", val.toUtf8().data());
+ Dmsg1(100, "Item=%s\n", item.toUtf8().data());
+ Dmsg1(100, "Value=%s\n", val.toUtf8().data());
if (item.startsWith("Title:")) {
run->setText(val);