diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sync/syncmanager.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/sync/syncmanager.cpp b/src/sync/syncmanager.cpp index efd0ffd3..5766f418 100644 --- a/src/sync/syncmanager.cpp +++ b/src/sync/syncmanager.cpp @@ -114,17 +114,27 @@ void SyncManager::showSettings() void SyncManager::syncBookmarks() { - _syncImplementation.data()->syncBookmarks(); + if (!_syncImplementation.isNull()) + { + _syncImplementation.data()->syncBookmarks(); + } } void SyncManager::syncHistory() { - _syncImplementation.data()->syncHistory(); + if (!_syncImplementation.isNull()) + { + _syncImplementation.data()->syncHistory(); + } } void SyncManager::syncPasswords() { - _syncImplementation.data()->syncPasswords(); + if (!_syncImplementation.isNull()) + { + _syncImplementation.data()->syncPasswords(); + } } + |