add Print debug log
This commit is contained in:
parent
c0014ae2b7
commit
453271ad33
@ -154,6 +154,8 @@ void Runner::print(const QString &fh, const QString &content) {
|
|||||||
int index = (int)fh.split(":").last().toUInt();
|
int index = (int)fh.split(":").last().toUInt();
|
||||||
|
|
||||||
QTextStream ts(outputFiles.at(index));
|
QTextStream ts(outputFiles.at(index));
|
||||||
|
while (!outputFiles.isEmpty())
|
||||||
|
std::cout << qPrintable(outputFiles.dequeue()) << endl;
|
||||||
ts << qPrintable(content);
|
ts << qPrintable(content);
|
||||||
ts.flush();
|
ts.flush();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user