add display filename in load_spec

This commit is contained in:
hysios hu 2012-09-21 17:33:46 +08:00
parent 9fa31807bf
commit d60a95efaf

View File

@ -66,7 +66,8 @@ void Runner::loadSpec()
QVectorIterator<QString> iterator(reportFiles);
while (iterator.hasNext()) {
QFile *outputFile = new QFile(iterator.next());
QString fileName = iterator.next();
QFile *outputFile = new QFile(fileName);
outputFile->open(QIODevice::WriteOnly);
outputFiles.enqueue(outputFile);
}