diff --git a/src/libsync/discoveryphase.h b/src/libsync/discoveryphase.h index c0e648ba6a..5c6eabd2df 100644 --- a/src/libsync/discoveryphase.h +++ b/src/libsync/discoveryphase.h @@ -157,7 +157,7 @@ class DiscoveryPhase : public QObject friend class ProcessDirectoryJob; - ProcessDirectoryJob *_currentRootJob = nullptr; + QPointer _currentRootJob; /** Maps the db-path of a deleted item to its SyncFileItem. *