aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-17 13:47:19 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-18 20:09:43 +0200
commite05402045261a404ad5d8add63b82672d3d9aebb (patch)
tree870c16e1d4a630de69b441fe6b600e0b2a38369e /lib
parentc05b5c2b79f9ab301fee587ee781b9c8e18b8a2f (diff)
downloadlibquotient-e05402045261a404ad5d8add63b82672d3d9aebb.tar.gz
libquotient-e05402045261a404ad5d8add63b82672d3d9aebb.zip
Fix building with Qt 5.12
Diffstat (limited to 'lib')
-rw-r--r--lib/quotient_common.cpp4
1 files changed, 2 insertions, 2 deletions
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<Enum>(e),
qt_getEnumMetaObject(e),
qt_getEnumName(e));
@@ -20,7 +20,7 @@ inline QDebug suppressScopeAndDump(QDebug dbg, const QFlags<Enum>& 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);
}