qDebug()<<"LOG COMPRESSOR: INPUT FILE DOES NOT EXIST";
//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;
//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;
}
...
...
@@ -214,7 +214,7 @@ void LogCompressor::run()
}
}
if(index%(dataLines/100)==0)emitlogProcessingStatusChanged(tr("Log compressor: Processed %1% of %2 lines").arg(index/(float)dataLines*100,0,'f',2).arg(dataLines));
if(dataLines>100)if(index%(dataLines/100)==0)emitlogProcessingStatusChanged(tr("Log compressor: Processed %1% of %2 lines").arg(index/(float)dataLines*100,0,'f',2).arg(dataLines));
m_ui->receiveText->appendHtml(QString("<font color=\"%1\">%2</font>").arg(QGC::colorRed.name(),tr("Could not connect link %1 ! Please check link hardware.").arg(currLink->getName())));