From 37893f77cbb95b19cd3644dcdea891fed2cdf408 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 20 Oct 2019 03:37:44 +0200 Subject: [PATCH] Fix compilation with Qt >= 5.14.0 --- widgets/settings/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/settings/settings.cpp b/widgets/settings/settings.cpp index b31e6cc..0a1dcb0 100644 --- a/widgets/settings/settings.cpp +++ b/widgets/settings/settings.cpp @@ -33,6 +33,7 @@ using namespace std; using namespace Data; using namespace QtUtilities; +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) namespace std { template <> struct hash { @@ -42,6 +43,7 @@ template <> struct hash { } }; } // namespace std +#endif namespace Settings {