Fix crash in Folder::isSyncRunning()

Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
allexzander 2021-07-23 14:26:04 +03:00 committed by allexzander (Rebase PR Action)
parent e3ca1f09de
commit 98ae715905

View file

@ -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