diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-07-31 11:55:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 11:55:25 +0200 |
| commit | 4d1b0517e3d5704b26df7d8a9a492d182d36ea4b (patch) | |
| tree | 3c88dca3a7a4591e59cf36b8faa60cff9569995f /src/aoapplication.h | |
| parent | e82726ba5b4a2faf8caea747789d71f1e717f7f8 (diff) | |
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
Diffstat (limited to 'src/aoapplication.h')
| -rw-r--r-- | src/aoapplication.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<ServerInfo> server_list; - QHash<uint, QString> asset_lookup_cache; - QHash<uint, QString> dir_listing_cache; - QSet<uint> dir_listing_exist_cache; + QHash<size_t, QString> asset_lookup_cache; + QHash<size_t, QString> dir_listing_cache; + QSet<size_t> dir_listing_exist_cache; public Q_SLOTS: void server_connected(); |
