diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-17 13:47:19 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-18 20:09:43 +0200 |
commit | e05402045261a404ad5d8add63b82672d3d9aebb (patch) | |
tree | 870c16e1d4a630de69b441fe6b600e0b2a38369e /lib | |
parent | c05b5c2b79f9ab301fee587ee781b9c8e18b8a2f (diff) | |
download | libquotient-e05402045261a404ad5d8add63b82672d3d9aebb.tar.gz libquotient-e05402045261a404ad5d8add63b82672d3d9aebb.zip |
Fix building with Qt 5.12
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quotient_common.cpp | 4 |
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); } |