Fix compilation with Qt >= 5.14.0

This commit is contained in:
Martchus 2019-10-20 03:37:44 +02:00
parent 19ee6cb691
commit 37893f77cb
1 changed files with 2 additions and 0 deletions

View File

@ -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<QString> {
@ -42,6 +43,7 @@ template <> struct hash<QString> {
}
};
} // namespace std
#endif
namespace Settings {