Discovery: Change abort code a bit

Now pressing pause in the UI will not show an error to the user.
Esse commit está contido em:
Markus Goetz
2015-03-05 16:50:33 +01:00
commit 2eaeaf33fa
2 arquivos alterados com 13 adições e 10 exclusões
+1
Ver Arquivo
@@ -1194,6 +1194,7 @@ AccountPtr SyncEngine::account() const
void SyncEngine::abort()
{
qDebug() << Q_FUNC_INFO << _discoveryMainThread;
// Aborts the discovery phase job
if (_discoveryMainThread) {
_discoveryMainThread->abort();