mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-12 02:56:12 -05:00
Merge pull request #815 from poixen/remove_hq_image_auto
Set download hq images to false by default
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user