Fixed some merge issues
This commit is contained in:
parent
4b45ba46f4
commit
98e84f0d63
1 changed files with 8 additions and 16 deletions
|
@ -38,25 +38,18 @@ GeneralSettingsPage::GeneralSettingsPage()
|
||||||
languageBox.setCurrentIndex(i);
|
languageBox.setCurrentIndex(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
picDownloadCheckBox.setChecked(settingsCache->getPicDownload());
|
||||||
picDownloadCheckBox = new QCheckBox;
|
|
||||||
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.setMinimum(PIXMAPCACHE_SIZE_MIN);
|
||||||
pixmapCacheEdit = new QSpinBox;
|
|
||||||
pixmapCacheEdit->setMinimum(PIXMAPCACHE_SIZE_MIN);
|
|
||||||
// 2047 is the max value to avoid overflowing of QPixmapCache::setCacheLimit(int size)
|
// 2047 is the max value to avoid overflowing of QPixmapCache::setCacheLimit(int size)
|
||||||
pixmapCacheEdit->setMaximum(PIXMAPCACHE_SIZE_MAX);
|
pixmapCacheEdit.setMaximum(PIXMAPCACHE_SIZE_MAX);
|
||||||
pixmapCacheEdit->setSingleStep(64);
|
pixmapCacheEdit.setSingleStep(64);
|
||||||
pixmapCacheEdit->setValue(settingsCache->getPixmapCacheSize());
|
pixmapCacheEdit.setValue(settingsCache->getPixmapCacheSize());
|
||||||
pixmapCacheEdit->setSuffix(" MB");
|
pixmapCacheEdit.setSuffix(" MB");
|
||||||
=======
|
|
||||||
pixmapCacheEdit.setMinimum(64);
|
pixmapCacheEdit.setMinimum(64);
|
||||||
pixmapCacheEdit.setMaximum(8192);
|
pixmapCacheEdit.setMaximum(8192);
|
||||||
pixmapCacheEdit.setSingleStep(64);
|
pixmapCacheEdit.setSingleStep(64);
|
||||||
|
@ -64,7 +57,6 @@ GeneralSettingsPage::GeneralSettingsPage()
|
||||||
pixmapCacheEdit.setSuffix(" MB");
|
pixmapCacheEdit.setSuffix(" MB");
|
||||||
picDownloadHqCheckBox.setChecked(settingsCache->getPicDownloadHq());
|
picDownloadHqCheckBox.setChecked(settingsCache->getPicDownloadHq());
|
||||||
picDownloadCheckBox.setChecked(settingsCache->getPicDownload());
|
picDownloadCheckBox.setChecked(settingsCache->getPicDownload());
|
||||||
>>>>>>> 0b02c2b... Refactored General Settings Tab
|
|
||||||
|
|
||||||
connect(&clearDownloadedPicsButton, SIGNAL(clicked()), this, SLOT(clearDownloadedPicsButtonClicked()));
|
connect(&clearDownloadedPicsButton, SIGNAL(clicked()), this, SLOT(clearDownloadedPicsButtonClicked()));
|
||||||
connect(&languageBox, SIGNAL(currentIndexChanged(int)), this, SLOT(languageBoxChanged(int)));
|
connect(&languageBox, SIGNAL(currentIndexChanged(int)), this, SLOT(languageBoxChanged(int)));
|
||||||
|
|
Loading…
Reference in a new issue