qDebug()<<"LOG COMPRESSOR: INPUT FILE DOES NOT EXIST";
emitlogProcessingStatusChanged(tr("Log Compressor: Cannot start/compress log file, since input file %1 is not readable").arg(QFileInfo(fileName).absoluteFilePath()));
qDebug()<<"LOG COMPRESSOR: OUTPUT FILE DOES NOT EXIST"<<outFileName;
emitlogProcessingStatusChanged(tr("Log Compressor: Cannot start/compress log file, since output file %1 is not writable").arg(QFileInfo(outFileName).absoluteFilePath()));
return;
}
}
// Find all keys
QTextStreamin(&file);
...
...
@@ -132,7 +136,8 @@ void LogCompressor::run()
QStringList*outLines=newQStringList();
for(inti=0;i<times.length();i++)
{
if(times.at(i)!=lastTime)
// Cast to signed on purpose, 64 bit timestamp still long enough