summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/basesetup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/basesetup.cpp b/noncore/graphics/opie-eye/gui/basesetup.cpp
index 11974cf..1a354a5 100644
--- a/noncore/graphics/opie-eye/gui/basesetup.cpp
+++ b/noncore/graphics/opie-eye/gui/basesetup.cpp
@@ -17,7 +17,7 @@ BaseSetup::BaseSetup(Opie::Core::OConfig *a_cfg,QWidget * parent, const char * n
17 m_SlideShowTime->setSizePolicy(QSizePolicy(QSizePolicy::MinimumExpanding,QSizePolicy::Fixed)); 17 m_SlideShowTime->setSizePolicy(QSizePolicy(QSizePolicy::MinimumExpanding,QSizePolicy::Fixed));
18 m_SlideShowTime->setButtonSymbols( QSpinBox::PlusMinus ); 18 m_SlideShowTime->setButtonSymbols( QSpinBox::PlusMinus );
19 m_SlideShowTime->setMaxValue( 60 ); 19 m_SlideShowTime->setMaxValue( 60 );
20 m_SlideShowTime->setMinValue(0); 20 m_SlideShowTime->setMinValue(1);
21 m_SlideShowTime->setValue( 2 ); 21 m_SlideShowTime->setValue( 2 );
22 m_SlideShowTime->setSuffix(tr(" seconds")); 22 m_SlideShowTime->setSuffix(tr(" seconds"));
23 23
@@ -36,7 +36,7 @@ BaseSetup::BaseSetup(Opie::Core::OConfig *a_cfg,QWidget * parent, const char * n
36 m_MainLayout->addItem( spacer1 ); 36 m_MainLayout->addItem( spacer1 );
37 37
38 int stime = m_cfg->readNumEntry("base_slideshowtimeout",2); 38 int stime = m_cfg->readNumEntry("base_slideshowtimeout",2);
39 if (stime<0) stime=2; 39 if (stime<1) stime=2;
40 if (stime>60) stime=60; 40 if (stime>60) stime=60;
41 m_SlideShowTime->setValue(stime); 41 m_SlideShowTime->setValue(stime);
42 42