chore: remove Singleton & replace getIApp with getApp (#5514)
This commit is contained in:
@@ -59,7 +59,7 @@ void loadUncached(std::shared_ptr<NetworkData> &&data)
|
||||
|
||||
void loadCached(std::shared_ptr<NetworkData> &&data)
|
||||
{
|
||||
QFile cachedFile(getIApp()->getPaths().cacheDirectory() + "/" +
|
||||
QFile cachedFile(getApp()->getPaths().cacheDirectory() + "/" +
|
||||
data->getHash());
|
||||
|
||||
if (!cachedFile.exists() || !cachedFile.open(QIODevice::ReadOnly))
|
||||
|
||||
Reference in New Issue
Block a user