diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 0ffca98b1c..c6b037181b 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -178,7 +178,7 @@ Application::Application(int &argc, char **argv) : QTimer::singleShot( 0, this, SLOT( slotCheckConnection() )); // Update checks - _updaterTimer.setInterval(cfg.updateCheckInterval()); // check every two hours + _updaterTimer.setInterval(cfg.updateCheckInterval()); // check every couple of hours as defined in config connect(&_updaterTimer, SIGNAL(timeout()), this, SLOT(slotStartUpdateDetector())); QTimer::singleShot( 3000, this, SLOT( slotStartUpdateDetector() )); diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp index 5cf4e0559c..f30d5846f7 100644 --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -389,7 +389,7 @@ bool ConfigFile::updateCheckInterval( const QString& connection ) const QSettings settings(configFile(), QSettings::IniFormat); settings.beginGroup( con ); - quint64 defaultInterval = 1000*120*60; + quint64 defaultInterval = 1000*60*60*10; // ten hours quint64 interval = settings.value( QLatin1String(updateCheckIntervalC), defaultInterval ).toULongLong(); quint64 minInterval = 1000*60*5;