From 4d1b0517e3d5704b26df7d8a9a492d182d36ea4b Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:55:25 +0200 Subject: V2.11.0 rc1 fixes (#1029) * Use unix timestamp to transmit ban duration * Cleanup compiler warning due to narrowing conversion * Fix preanim not being visible This is apparently not a feature we want from WebAO :^) * Bump to RC2 * Use std::chrono instead * Remove random include and debug call --- src/aoapplication.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/aoapplication.h') diff --git a/src/aoapplication.h b/src/aoapplication.h index f0d3d81c..e9477e0c 100644 --- a/src/aoapplication.h +++ b/src/aoapplication.h @@ -43,7 +43,7 @@ public: inline VPath operator+(const VPath &str) const { return VPath(this->toQString() + str.toQString()); } }; -inline uint qHash(const VPath &key, uint seed = qGlobalQHashSeed()) +inline size_t qHash(const VPath &key, uint seed = qGlobalQHashSeed()) { return qHash(key.toQString(), seed); } @@ -338,9 +338,9 @@ public: private: QVector server_list; - QHash asset_lookup_cache; - QHash dir_listing_cache; - QSet dir_listing_exist_cache; + QHash asset_lookup_cache; + QHash dir_listing_cache; + QSet dir_listing_exist_cache; public Q_SLOTS: void server_connected(); -- cgit