changeset 1802:c48548a85622

One last fix to this compatibility function (I hope!)
author Chris Cannam
date Thu, 10 Oct 2019 09:47:25 +0100
parents af3f6c411a8e
children 6eb3a76c74f7
files base/Event.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/Event.h	Thu Oct 10 09:34:12 2019 +0100
+++ b/base/Event.h	Thu Oct 10 09:47:25 2019 +0100
@@ -27,7 +27,7 @@
 #include <QString>
 
 #if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0))
-uint qHash(float key, uint seed) {
+uint qHash(float key, uint seed = 0) {
     uint h = seed;
     const uchar *p = reinterpret_cast<const uchar *>(&key);
     for (size_t i = 0; i < sizeof(key); ++i) {