Beta-6 fixes

This commit is contained in:
tobtoht
2021-05-05 01:09:19 +02:00
parent d4cfa05157
commit 663960af2f
28 changed files with 201 additions and 95 deletions
-10
View File
@@ -17,10 +17,6 @@
#include "utils/ColorScheme.h"
#include "globals.h"
// Application log for current session
QVector<logMessage> applicationLog = QVector<logMessage>(); // todo: replace with ring buffer
QMutex logMutex;
QByteArray Utils::fileGetContents(const QString &path)
{
QFile file(path);
@@ -128,12 +124,6 @@ void Utils::applicationLogHandler(QtMsgType type, const QMessageLogContext &cont
auto message = logMessage(type, line, fn);
{
QMutexLocker locker(&logMutex);
applicationLog.append(message);
}
//emit applicationLogUpdated(message);
}