aboutsummaryrefslogtreecommitdiff
path: root/lib/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logging.h')
-rw-r--r--lib/logging.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/logging.h b/lib/logging.h
index fc0a4c99..c8d17210 100644
--- a/lib/logging.h
+++ b/lib/logging.h
@@ -44,12 +44,7 @@ inline QDebug formatJson(QDebug debug_object)
//! Suppress full qualification of enums/QFlags when logging
inline QDebug terse(QDebug dbg)
{
- return
-#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
- dbg.setVerbosity(0), dbg;
-#else
- dbg.verbosity(QDebug::MinimumVerbosity);
-#endif
+ return dbg.verbosity(QDebug::MinimumVerbosity);
}
inline qint64 profilerMinNsecs()