diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp index 482172b59..fd7b8746a 100644 --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -382,7 +382,7 @@ quint64 ConfigFile::forceSyncInterval(const QString& connection) const return interval; } -bool ConfigFile::updateCheckInterval( const QString& connection ) const +quint64 ConfigFile::updateCheckInterval( const QString& connection ) const { QString con( connection ); if( connection.isEmpty() ) con = defaultConnection(); diff --git a/src/libsync/configfile.h b/src/libsync/configfile.h index d887e304a..43713fe61 100644 --- a/src/libsync/configfile.h +++ b/src/libsync/configfile.h @@ -113,7 +113,7 @@ public: void restoreGeometry(QWidget *w); // how often the check about new versions runs, default two hours - bool updateCheckInterval( const QString& connection = QString() ) const; + quint64 updateCheckInterval( const QString& connection = QString() ) const; bool skipUpdateCheck( const QString& connection = QString() ) const; void setSkipUpdateCheck( bool, const QString& );