Set download hq images to false by default
Due to mtgimage being taken down we I have made a one time check that will uncheck the hq image option.
This commit is contained in:
parent
29ddd44334
commit
bf0750db20
1 changed files with 3 additions and 3 deletions
|
@ -22,12 +22,12 @@ SettingsCache::SettingsCache()
|
|||
cardBackPicturePath = settings->value("paths/cardbackpicture").toString();
|
||||
|
||||
// we only want to reset the cache once, then its up to the user
|
||||
bool updateCache = settings->value("update/pixmapCacheSize", false).toBool();
|
||||
bool updateCache = settings->value("revert/pixmapCacheSize", false).toBool();
|
||||
if (!updateCache) {
|
||||
pixmapCacheSize = PIXMAPCACHE_SIZE_DEFAULT;
|
||||
settings->setValue("personal/pixmapCacheSize", pixmapCacheSize);
|
||||
settings->setValue("personal/picturedownloadhq", true);
|
||||
settings->setValue("update/pixmapCacheSize", true);
|
||||
settings->setValue("personal/picturedownloadhq", false);
|
||||
settings->setValue("revert/pixmapCacheSize", true);
|
||||
}
|
||||
else
|
||||
pixmapCacheSize = settings->value("personal/pixmapCacheSize", PIXMAPCACHE_SIZE_DEFAULT).toInt();
|
||||
|
|
Loading…
Reference in a new issue