Show debug output in text-edit only when at least one file to update.
This commit is contained in:
parent
f4bb201633
commit
d2d3afc28e
3
worker.h
3
worker.h
@ -1175,7 +1175,8 @@ private:
|
|||||||
for (int i = 0; i < size; ++i) {
|
for (int i = 0; i < size; ++i) {
|
||||||
emit worker->appendText(QString("\n ") + worker->m_filesToUpdate.at(i));
|
emit worker->appendText(QString("\n ") + worker->m_filesToUpdate.at(i));
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
if (size == 1) {
|
||||||
emit worker->appendText("Found 1 file to update :", UPDATE_STEP_DONE);
|
emit worker->appendText("Found 1 file to update :", UPDATE_STEP_DONE);
|
||||||
emit worker->appendText(QString("\n ") + worker->m_filesToUpdate.at(0));
|
emit worker->appendText(QString("\n ") + worker->m_filesToUpdate.at(0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user