summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2015-04-06 14:44:08 +0200
committerDennis Nienhüser <[email protected]>2015-04-06 15:45:18 +0200
commit15e1c73f14ea7e8c435789d73b87b7c8caf7deb3 (patch)
tree1e42b7b9cb5880acb4d82f87ac75a1f55cbeb3ce
parent5e51c23fc74be5bfdea9318f372559248a6d28c0 (diff)
Disable bookmark sync if cloud sync is disabled
-rw-r--r--src/lib/marble/cloudsync/BookmarkSyncManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/cloudsync/BookmarkSyncManager.cpp b/src/lib/marble/cloudsync/BookmarkSyncManager.cpp
index db8a401..d388ed3 100644
--- a/src/lib/marble/cloudsync/BookmarkSyncManager.cpp
+++ b/src/lib/marble/cloudsync/BookmarkSyncManager.cpp
@@ -267,7 +267,7 @@ void BookmarkSyncManager::setBookmarkManager(BookmarkManager *manager)
void BookmarkSyncManager::startBookmarkSync()
{
- if ( !isBookmarkSyncEnabled() )
+ if ( !d->m_cloudSyncManager->isSyncEnabled() || !isBookmarkSyncEnabled() )
{
return;
}