fix std:endl

This commit is contained in:
hysios hu 2012-09-23 16:40:16 +08:00
parent 453271ad33
commit f2126b2885

View File

@ -155,7 +155,7 @@ void Runner::print(const QString &fh, const QString &content) {
QTextStream ts(outputFiles.at(index)); QTextStream ts(outputFiles.at(index));
while (!outputFiles.isEmpty()) while (!outputFiles.isEmpty())
std::cout << qPrintable(outputFiles.dequeue()) << endl; std::cout << qPrintable(outputFiles.dequeue()) << std::endl;
ts << qPrintable(content); ts << qPrintable(content);
ts.flush(); ts.flush();
} }