aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-06-06 22:41:40 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2021-06-06 22:41:40 -0500
commit387233e9e3603eb7d346eb351f0c70c84a956a10 (patch)
tree518a71de24555f0e56a2d0610494ffd6617a6c4b /include
parent7a1c3f385e5fc7f0fdcde60543d32795ea64e0fc (diff)
Don't store key in asset lookup cache
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 24a09eca..e800bb5c 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -51,7 +51,7 @@ public:
}
};
-inline uint qHash(const VPath &key, uint seed)
+inline uint qHash(const VPath &key, uint seed = qGlobalQHashSeed())
{
return qHash(key.toQString(), seed);
}
@@ -541,7 +541,7 @@ private:
QVector<server_type> server_list;
QVector<server_type> favorite_list;
- QHash<VPath, QString> asset_lookup_cache;
+ QHash<uint, QString> asset_lookup_cache;
private slots:
void ms_connect_finished(bool connected, bool will_retry);