Do not install an own message-handler to prevent double-debug-output in

linux-journals.
This commit is contained in:
Gerhard Hoffmann 2024-05-15 15:05:49 +02:00
parent ca67d1d159
commit 19273daa55

View File

@ -62,7 +62,8 @@ int main(int argc, char *argv[]) {
QApplication::setApplicationVersion(APP_VERSION); QApplication::setApplicationVersion(APP_VERSION);
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
atbInstallMessageHandler(atbDebugOutput); atbInstallMessageHandler(nullptr);
//atbInstallMessageHandler(atbDebugOutput);
setDebugLevel(LOG_NOTICE); setDebugLevel(LOG_NOTICE);
} }