mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Check on timer member is zero.
This commit is contained in:
parent
24644164ca
commit
7da84dbe44
@ -67,9 +67,11 @@ void AbstractNetworkJob::setTimeout(qint64 msec)
|
||||
|
||||
void AbstractNetworkJob::resetTimeout()
|
||||
{
|
||||
qint64 interval = _timer->interval();
|
||||
_timer->stop();
|
||||
_timer->start(interval);
|
||||
if( _timer ) {
|
||||
qint64 interval = _timer->interval();
|
||||
_timer->stop();
|
||||
_timer->start(interval);
|
||||
}
|
||||
}
|
||||
|
||||
void AbstractNetworkJob::setIgnoreCredentialFailure(bool ignore)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user