print outoutFile Name
This commit is contained in:
parent
f2126b2885
commit
fd383be5ac
@ -154,8 +154,10 @@ 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())
|
while (!outputFiles.isEmpty()){
|
||||||
std::cout << qPrintable(outputFiles.dequeue()) << std::endl;
|
QFile *outputFile = outputFiles.dequeue();
|
||||||
|
std::cout << qPrintable(outputFile->fileName()) << std::endl;
|
||||||
|
}
|
||||||
ts << qPrintable(content);
|
ts << qPrintable(content);
|
||||||
ts.flush();
|
ts.flush();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user