From 681466213f499ad21675f568ac32dbcdb5acb5c6 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Mon, 20 Jul 2015 12:10:30 +0200 Subject: [PATCH] ConfigFile: Return proper type for update check interval. --- src/libsync/configfile.cpp | 2 +- src/libsync/configfile.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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& );