From e05402045261a404ad5d8add63b82672d3d9aebb Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sat, 17 Jul 2021 13:47:19 +0200 Subject: Fix building with Qt 5.12 --- lib/quotient_common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/quotient_common.cpp') diff --git a/lib/quotient_common.cpp b/lib/quotient_common.cpp index 805070d1..5d7a3027 100644 --- a/lib/quotient_common.cpp +++ b/lib/quotient_common.cpp @@ -9,7 +9,7 @@ inline QDebug suppressScopeAndDump(QDebug dbg, Enum e) { // Suppress "Quotient::" prefix QDebugStateSaver _dss(dbg); - dbg.setVerbosity(QDebug::MinimumVerbosity); + dbg.setVerbosity(0 /* QDebug::MinimumVerbosity since Qt 5.13 */); return qt_QMetaEnum_debugOperator(dbg, std::underlying_type_t(e), qt_getEnumMetaObject(e), qt_getEnumName(e)); @@ -20,7 +20,7 @@ inline QDebug suppressScopeAndDump(QDebug dbg, const QFlags& f) { // Suppress "Quotient::" prefix QDebugStateSaver _dss(dbg); - dbg.setVerbosity(QDebug::MinimumVerbosity); + dbg.setVerbosity(0 /* QDebug::MinimumVerbosity since Qt 5.13 */); return qt_QMetaEnum_flagDebugOperator_helper(dbg, f); } -- cgit v1.2.3