diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/converters.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h index eaf2a32e..4a206a4c 100644 --- a/lib/converters.h +++ b/lib/converters.h @@ -40,7 +40,11 @@ namespace std { size_t operator()(const QString& s) const Q_DECL_NOEXCEPT { - return qHash(s, uint(qGlobalQHashSeed())); + return qHash(s +#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) + , uint(qGlobalQHashSeed()) +#endif + ); } }; } |