@ -49,6 +49,7 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
.arg(fileName).arg(context.line).arg(context.function).arg(msg);
std::cout << msgOut.toLocal8Bit().constData() << std::endl;
QTextStream in(&g_file);
in.setCodec("UTF-8");
in << msgOut << "\n";
// g_file.flush();
g_mutex.unlock();