From 19273daa55f6b892016867bad39a6bbab619115c Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 15 May 2024 15:05:49 +0200 Subject: [PATCH] Do not install an own message-handler to prevent double-debug-output in linux-journals. --- UpdatePTUDevCtrl/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UpdatePTUDevCtrl/main.cpp b/UpdatePTUDevCtrl/main.cpp index cd0f5cd..a809445 100644 --- a/UpdatePTUDevCtrl/main.cpp +++ b/UpdatePTUDevCtrl/main.cpp @@ -62,7 +62,8 @@ int main(int argc, char *argv[]) { QApplication::setApplicationVersion(APP_VERSION); if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling - atbInstallMessageHandler(atbDebugOutput); + atbInstallMessageHandler(nullptr); + //atbInstallMessageHandler(atbDebugOutput); setDebugLevel(LOG_NOTICE); }