24 lines
608 B
Diff
24 lines
608 B
Diff
From 033c97e85dbaeda687253dc5b9e3008fd50f057a Mon Sep 17 00:00:00 2001
|
|
From: fourtf <tf.four@gmail.com>
|
|
Date: Thu, 3 Oct 2019 10:07:14 +0200
|
|
Subject: [PATCH] disabled hash<QString> for Qt 5.14
|
|
|
|
---
|
|
src/util/QStringHash.hpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- src/util/QStringHash.hpp 2018-06-25 12:52:07.000000000 +0200
|
|
+++ src/util/QStringHash.hpp 2019-11-16 14:08:54.342448158 +0100
|
|
@@ -3,6 +3,7 @@
|
|
#include <QHash>
|
|
#include <QString>
|
|
|
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
|
namespace std {
|
|
template <>
|
|
struct hash<QString> {
|
|
@@ -12,3 +13,4 @@
|
|
}
|
|
};
|
|
} // namespace std
|
|
+#endif
|