# HG changeset patch # User Chris Cannam # Date 1570697245 -3600 # Node ID c48548a8562265da5b4c1c95617240d7229bcdac # Parent af3f6c411a8ee7e255a1dd4384de14e5d4e387ce One last fix to this compatibility function (I hope!) diff -r af3f6c411a8e -r c48548a85622 base/Event.h --- 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 #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(&key); for (size_t i = 0; i < sizeof(key); ++i) {