1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

OP-1651 uncrustified

This commit is contained in:
Philippe Renon 2015-01-29 21:18:35 +01:00
parent c69d8841f4
commit faacd3e34b

View File

@ -294,11 +294,11 @@ void mainMessageOutput(QtMsgType type, const QMessageLogContext &context, const
void logInit(QString fileName)
{
QFile *file = new QFile(fileName);
if (file->open(QIODevice::WriteOnly | QIODevice::Text)) {
logStream = new QTextStream(file);
qInstallMessageHandler(mainMessageOutput);
}
else {
} else {
// TODO error popup
}
}