Increase number max preload images to 32

This commit is contained in:
2024-01-08 16:49:56 +01:00
parent cd6a64a98b
commit ed5fc9c1c2
2 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent)
QSettings settings;
m_preloadImages = new QSpinBox(this);
m_preloadImages->setRange(0, 8);
m_preloadImages->setRange(0, 32);
m_preloadImages->setValue(settings.value("settings/preloadimagecount", DEFAULT_WIDTH).toInt());
m_preloadImages->setToolTip(tr("How many images are preloaded before and after current image."));
@@ -63,7 +63,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent)
m_slideShowTime->setSuffix(" s");
m_slideShowTime->setValue(settings.value("settings/slideshowtime", 1.0).toDouble());
m_slideShowTime->setSingleStep(0.1);
//m_slideShowTime->setStepType(QAbstractSpinBox::AdaptiveDecimalStepType);
m_useNativeDialog = new QCheckBox(tr("Don't use native file dialog"), this);
m_useNativeDialog->setChecked(QApplication::testAttribute(Qt::AA_DontUseNativeDialogs));