mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
ConfigFile: Return proper type for update check interval.
This commit is contained in:
parent
cb4bfd8060
commit
681466213f
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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& );
|
||||
|
|
Loading…
Reference in a new issue