mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Fix crash in Folder::isSyncRunning()
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
e3ca1f09de
commit
98ae715905
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ bool Folder::isBusy() const
|
|||
|
||||
bool Folder::isSyncRunning() const
|
||||
{
|
||||
return _engine->isSyncRunning() || _vfs->isHydrating();
|
||||
return _engine->isSyncRunning() || (_vfs && _vfs->isHydrating());
|
||||
}
|
||||
|
||||
QString Folder::remotePath() const
|
||||
|
|
Loading…
Reference in a new issue