chatterino2: add patch for qt5.14

This commit is contained in:
John 2019-11-16 14:11:36 +01:00
parent bdc9e49f39
commit 2cd60b217a

View file

@ -0,0 +1,24 @@
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
+++ - 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