Skip to content

Commit

Permalink
do not log twice in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Jun 6, 2023
1 parent a34bac3 commit 5a86446
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libsync/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5a86446

Please sign in to comment.