From 091e9bbd52f34e5a0a3eb94b80854fd3944da8e6 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 7 May 2014 16:17:08 +0200 Subject: [PATCH] Fix crash when _engine is not available Fixes #1671 and #1675 --- src/mirall/folder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp index 227880c802..ef93494569 100644 --- a/src/mirall/folder.cpp +++ b/src/mirall/folder.cpp @@ -301,7 +301,7 @@ void Folder::bubbleUpSyncResult() SyncRunFileLog syncFileLog; - syncFileLog.start(path(), _engine->stopWatch() ); + syncFileLog.start(path(), _engine ? _engine->stopWatch() : Utility::StopWatch() ); QElapsedTimer timer; timer.start();