diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-18 21:26:43 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-18 21:26:43 +0200 |
commit | 6b355d1aa87072143e09ea5269e8cf465318a64f (patch) | |
tree | 5de8b227d319e8c677ef4ea3d7931233a808bd5a /lib/logging.h | |
parent | 2dd85770cbfd6d9c7506757f25765c05ef74987d (diff) | |
download | libquotient-6b355d1aa87072143e09ea5269e8cf465318a64f.tar.gz libquotient-6b355d1aa87072143e09ea5269e8cf465318a64f.zip |
Drop pre-Qt 5.15 code
Diffstat (limited to 'lib/logging.h')
-rw-r--r-- | lib/logging.h | 7 |
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() |