Fix compilation with Qt >= 5.14.0
This commit is contained in:
parent
19ee6cb691
commit
37893f77cb
|
@ -33,6 +33,7 @@ using namespace std;
|
||||||
using namespace Data;
|
using namespace Data;
|
||||||
using namespace QtUtilities;
|
using namespace QtUtilities;
|
||||||
|
|
||||||
|
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
template <> struct hash<QString> {
|
template <> struct hash<QString> {
|
||||||
|
@ -42,6 +43,7 @@ template <> struct hash<QString> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue