Page MenuHomePhorge

Fix default cache directory not applied
Needs ReviewPublic

Authored by tusooa on Mon, Aug 24, 2:16 PM.

Details

Reviewers
None
Group Reviewers
O1: the Kazv Project
Summary

KazvIOManager accepts a url string for cacheDirectory, but the original default value is not a url. Also, KazvIOManager had its internal default directory. This is now removed, and now when calling KazvIOManager::setCacheDirectory() with an empty string, it will use the default location (<cacheDir>/imgcache).

Type: fix

BUG: https://iron.lily-is.land/T197

Test Plan

Open kazv with cache directory unset or set to empty. Check that no image cache is written under the current directory. Check image cache is correctly written into <cacheDir>/imgcache .

Diff Detail

Repository
rK kazv
Branch
servant
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 716
Build 1414: Invoke BuildbotBuildbot build #2576
Build 1413: arc lint + arc unit