ConfigFile: Return proper type for update check interval.

This commit is contained in:
Klaas Freitag 2015-07-20 12:10:30 +02:00
parent cb4bfd8060
commit 681466213f
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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& );