diff --git a/kdeplasma-addons/applets/frame/configdialog.cpp b/kdeplasma-addons/applets/frame/configdialog.cpp
index 16abee26..bf172e0d 100644
--- a/kdeplasma-addons/applets/frame/configdialog.cpp
+++ b/kdeplasma-addons/applets/frame/configdialog.cpp
@@ -39,7 +39,10 @@ ConfigDialog::ConfigDialog(QWidget *parent)
imageUi.addDirButton->setIcon(KIcon("list-add"));
imageUi.removeDirButton->setIcon(KIcon("list-remove"));
- imageUi.slideShowDelay->setMinimumTime(QTime(0, 0, 1)); // minimum to 1 second
+ imageUi.slideShowDelay->setTimeRange(
+ QTime(0, 0, 1), // minimum to 1 second
+ imageUi.slideShowDelay->maximumTime()
+ );
QString monitorPath = KStandardDirs::locate("data", "kcontrol/pics/monitor.png");
// Size of monitor image: 200x186
diff --git a/kdeplasma-addons/applets/frame/frame.cpp b/kdeplasma-addons/applets/frame/frame.cpp
index f0da3d2d..73feddc6 100644
--- a/kdeplasma-addons/applets/frame/frame.cpp
+++ b/kdeplasma-addons/applets/frame/frame.cpp
@@ -585,7 +585,7 @@ void Frame::createConfigurationInterface(KConfigDialog *parent)
m_configDialog->imageUi.removeDirButton->setEnabled(!m_slideShowPaths.isEmpty());
m_configDialog->imageUi.slideShowDelay->setTime(QTime(m_slideshowTime / 3600, (m_slideshowTime / 60) % 60, m_slideshowTime % 60));
m_configDialog->previewPicture(m_mySlideShow->image());
- m_configDialog->imageUi.autoUpdateTime->setTime(QTime(m_autoUpdateIntervall / 3600, (m_autoUpdateIntervall / 60) % 60));
+ m_configDialog->imageUi.autoUpdateTime->setTime(QTime(m_autoUpdateIntervall / 3600, (m_autoUpdateIntervall / 60) % 60, m_autoUpdateIntervall % 60));
connect(m_configDialog->imageUi.slideShowDelay, SIGNAL(timeChanged(QTime)),
parent, SLOT(settingsModified()));
@@ -663,7 +663,7 @@ void Frame::configAccepted()
m_autoUpdateTimer->stop();
QTime AutoUpdateTimer = m_configDialog->imageUi.autoUpdateTime->time();
- m_autoUpdateIntervall = AutoUpdateTimer.minute() * 60 + AutoUpdateTimer.hour() * 3600;
+ m_autoUpdateIntervall = AutoUpdateTimer.second() + AutoUpdateTimer.minute() * 60 + AutoUpdateTimer.hour() * 3600;
cg.writeEntry("autoupdate time", m_autoUpdateIntervall);
QString potdProvider = m_configDialog->imageUi.potdComboBox->itemData(m_configDialog->imageUi.potdComboBox->currentIndex()).toString();
diff --git a/kdeplasma-addons/applets/frame/imageSettings.ui b/kdeplasma-addons/applets/frame/imageSettings.ui
index e509a341..379e16fc 100644
--- a/kdeplasma-addons/applets/frame/imageSettings.ui
+++ b/kdeplasma-addons/applets/frame/imageSettings.ui
@@ -141,12 +141,6 @@
Updates the picture from the source in the given time.
Useful if you want a live cam or weather data to be up to date.
-
- never
-
-
- hh'h' mm'min'
-
-
@@ -310,12 +304,6 @@ Useful if you want a live cam or weather data to be up to date.
1
-
- QDateTimeEdit::HourSection
-
-
- hh 'Hours' mm 'Mins' ss 'Secs'
-