aboutsummaryrefslogtreecommitdiff
path: root/lib/logging.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:26:43 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:26:43 +0200
commit6b355d1aa87072143e09ea5269e8cf465318a64f (patch)
tree5de8b227d319e8c677ef4ea3d7931233a808bd5a /lib/logging.h
parent2dd85770cbfd6d9c7506757f25765c05ef74987d (diff)
downloadlibquotient-6b355d1aa87072143e09ea5269e8cf465318a64f.tar.gz
libquotient-6b355d1aa87072143e09ea5269e8cf465318a64f.zip
Drop pre-Qt 5.15 code
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()