diff --git a/wfmain.cpp b/wfmain.cpp index 0f62b6e..7e1b1ab 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -6969,7 +6969,8 @@ void wfmain::initLogging() // Set handler qInstallMessageHandler(messageHandler); - logCheckingTimer.setInterval(50); + // Interval timer for log window updates: + logCheckingTimer.setInterval(100); connect(&logCheckingTimer, SIGNAL(timeout()), this, SLOT(logCheck())); logCheckingTimer.start(); } @@ -6997,8 +6998,6 @@ void wfmain::messageHandler(QtMsgType type, const QMessageLogContext& context, c { // Open stream file writes - // TODO: Fix this parameter: - if (type == QtDebugMsg && !debugModeLogging) { return; @@ -7046,7 +7045,5 @@ void wfmain::messageHandler(QtMsgType type, const QMessageLogContext& context, c logTextMutex.lock(); logStringBuffer.push_back(text); logTextMutex.unlock(); - //logStringBuffer[logStringBufferPosition%logStringBufferSize] = text; - //logStringBufferPosition++; }