From: Matthieu Gallien Date: Tue, 6 Jun 2023 12:45:18 +0000 (+0200) Subject: do not log twice in debug mode X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~18^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1b65818cdb94c7b5553be2a95c236d2af971bcd0;p=nextcloud-desktop.git do not log twice in debug mode Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/logger.cpp b/src/libsync/logger.cpp index 4de392bd3..657242a7c 100644 --- a/src/libsync/logger.cpp +++ b/src/libsync/logger.cpp @@ -142,9 +142,6 @@ void Logger::doLog(QtMsgType type, const QMessageLogContext &ctx, const QString msgW.append(L"\n"); OutputDebugString(msgW.c_str()); } -#elif defined(QT_DEBUG) - QTextStream cout(stdout, QIODevice::WriteOnly); - cout << msg << endl; #endif { QMutexLocker lock(&_mutex);