Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
76e9aae5
Commit
76e9aae5
authored
Mar 10, 2015
by
Zach
Browse files
Merge pull request #815 from poixen/remove_hq_image_auto
Set download hq images to false by default
parents
29ddd443
bf0750db
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/settingscache.cpp
View file @
76e9aae5
...
...
@@ -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"
,
tru
e
);
settings
->
setValue
(
"
update
/pixmapCacheSize"
,
true
);
settings
->
setValue
(
"personal/picturedownloadhq"
,
fals
e
);
settings
->
setValue
(
"
revert
/pixmapCacheSize"
,
true
);
}
else
pixmapCacheSize
=
settings
->
value
(
"personal/pixmapCacheSize"
,
PIXMAPCACHE_SIZE_DEFAULT
).
toInt
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment