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
98e84f0d
Commit
98e84f0d
authored
Jan 17, 2015
by
Matt Lowe
Browse files
Fixed some merge issues
parent
4b45ba46
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_settings.cpp
View file @
98e84f0d
...
...
@@ -38,25 +38,18 @@ GeneralSettingsPage::GeneralSettingsPage()
languageBox
.
setCurrentIndex
(
i
);
}
<<<<<<<
HEAD
picDownloadCheckBox
=
new
QCheckBox
;
picDownloadCheckBox
->
setChecked
(
settingsCache
->
getPicDownload
());
picDownloadCheckBox
.
setChecked
(
settingsCache
->
getPicDownload
());
clearDownloadedPicsButton
=
new
QPushButton
();
connect
(
clearDownloadedPicsButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
clearDownloadedPicsButtonClicked
()));
connect
(
&
clearDownloadedPicsButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
clearDownloadedPicsButtonClicked
()));
picDownloadHqCheckBox
=
new
QCheckBox
;
picDownloadHqCheckBox
->
setChecked
(
settingsCache
->
getPicDownloadHq
());
picDownloadHqCheckBox
.
setChecked
(
settingsCache
->
getPicDownloadHq
());
pixmapCacheLabel
=
new
QLabel
;
pixmapCacheEdit
=
new
QSpinBox
;
pixmapCacheEdit
->
setMinimum
(
PIXMAPCACHE_SIZE_MIN
);
pixmapCacheEdit
.
setMinimum
(
PIXMAPCACHE_SIZE_MIN
);
// 2047 is the max value to avoid overflowing of QPixmapCache::setCacheLimit(int size)
pixmapCacheEdit
->
setMaximum
(
PIXMAPCACHE_SIZE_MAX
);
pixmapCacheEdit
->
setSingleStep
(
64
);
pixmapCacheEdit
->
setValue
(
settingsCache
->
getPixmapCacheSize
());
pixmapCacheEdit
->
setSuffix
(
" MB"
);
=======
pixmapCacheEdit
.
setMaximum
(
PIXMAPCACHE_SIZE_MAX
);
pixmapCacheEdit
.
setSingleStep
(
64
);
pixmapCacheEdit
.
setValue
(
settingsCache
->
getPixmapCacheSize
());
pixmapCacheEdit
.
setSuffix
(
" MB"
);
pixmapCacheEdit
.
setMinimum
(
64
);
pixmapCacheEdit
.
setMaximum
(
8192
);
pixmapCacheEdit
.
setSingleStep
(
64
);
...
...
@@ -64,7 +57,6 @@ GeneralSettingsPage::GeneralSettingsPage()
pixmapCacheEdit
.
setSuffix
(
" MB"
);
picDownloadHqCheckBox
.
setChecked
(
settingsCache
->
getPicDownloadHq
());
picDownloadCheckBox
.
setChecked
(
settingsCache
->
getPicDownload
());
>>>>>>>
0b0
2
c2b
...
Refactored
General
Settings
Tab
connect
(
&
clearDownloadedPicsButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
clearDownloadedPicsButtonClicked
()));
connect
(
&
languageBox
,
SIGNAL
(
currentIndexChanged
(
int
)),
this
,
SLOT
(
languageBoxChanged
(
int
)));
...
...
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