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
3c60ac61
Commit
3c60ac61
authored
Feb 11, 2015
by
Matt Lowe
Browse files
Set to download HQ images by default
parent
dcc6c189
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/settingscache.cpp
View file @
3c60ac61
...
@@ -22,7 +22,7 @@ SettingsCache::SettingsCache()
...
@@ -22,7 +22,7 @@ SettingsCache::SettingsCache()
cardBackPicturePath
=
settings
->
value
(
"paths/cardbackpicture"
).
toString
();
cardBackPicturePath
=
settings
->
value
(
"paths/cardbackpicture"
).
toString
();
picDownload
=
settings
->
value
(
"personal/picturedownload"
,
true
).
toBool
();
picDownload
=
settings
->
value
(
"personal/picturedownload"
,
true
).
toBool
();
picDownloadHq
=
settings
->
value
(
"personal/picturedownloadhq"
,
fals
e
).
toBool
();
picDownloadHq
=
settings
->
value
(
"personal/picturedownloadhq"
,
tru
e
).
toBool
();
pixmapCacheSize
=
settings
->
value
(
"personal/pixmapCacheSize"
,
PIXMAPCACHE_SIZE_DEFAULT
).
toInt
();
pixmapCacheSize
=
settings
->
value
(
"personal/pixmapCacheSize"
,
PIXMAPCACHE_SIZE_DEFAULT
).
toInt
();
//sanity check
//sanity check
if
(
pixmapCacheSize
<
PIXMAPCACHE_SIZE_MIN
||
pixmapCacheSize
>
PIXMAPCACHE_SIZE_MAX
)
if
(
pixmapCacheSize
<
PIXMAPCACHE_SIZE_MIN
||
pixmapCacheSize
>
PIXMAPCACHE_SIZE_MAX
)
...
...
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