diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp index 12ee2e589..c907a3359 100644 --- a/src/mirall/syncengine.cpp +++ b/src/mirall/syncengine.cpp @@ -482,6 +482,13 @@ void SyncEngine::startSync() qDebug() << "XXXXXXXXXXXXXXXX FAIL: do not have csync_ctx!"; } + if (!QDir(_localPath).exists()) { + // No _tr, it should only occur in non-mirall + emit csyncError("Unable to find local sync directory."); + finalize(); + return; + } + _syncedItems.clear(); _syncItemMap.clear(); _needsUpdate = false;