Fix crash when _engine is not available

Fixes #1671 and #1675
This commit is contained in:
Olivier Goffart 2014-05-07 16:17:08 +02:00
parent ce09e11011
commit 091e9bbd52

View File

@ -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();