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 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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue