diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-09-13 16:01:34 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-09-15 18:20:01 +0300 |
commit | 65b67b3ff594b5b9baa6f52108510afff1c99f7c (patch) | |
tree | 8f1d6b1938c35ee219c599ffbdbafbf265d8c284 /src/libsync | |
parent | c0b4c4817cfd858d9a59bb67e4a65a532c1fdfe3 (diff) |
Fix crash on missing sync root
Fixes: #9016
Diffstat (limited to 'src/libsync')
-rw-r--r-- | src/libsync/syncengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index ec6b2f564..e3bb75f65 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -370,7 +370,7 @@ void SyncEngine::startSync() _progressInfo->reset(); - if (!QDir(_localPath).exists()) { + if (!QFileInfo::exists(_localPath)) { _anotherSyncNeeded = DelayedFollowUp; // No _tr, it should only occur in non-mirall Q_EMIT syncError(QStringLiteral("Unable to find local sync folder.")); |