Notify the user if anything goes wrong during bookmark synchronization
completed by: Oskar Jauch
mentors: Utku Aydın, René Küttner, Torsten Rahn, Dennis Nienhüser
Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!
Bookmark synchronization methods below interact with the Marble ownCloud app's API which is able to return friendly error messages if anything goes wrong. Add ability to Marble's desktop version to notify the user if anything goes wrong.
- uploadBookmarks (BookmarkSyncManager)
- downloadBookmarks (BookmarkSyncManager)
- downloadTimestamp (BookmarkSyncManager)
Beware, you are not supposed to raise dialogs and display any other GUI stuff in cloudsync classes since it wouldn't work on mobile devices. Instead, emit a signal inside cloudsync classes and connect it to a slot in the desktop code (marble_part.h/cpp and QtMainWindow.h/cpp).
Getting help: Visit the #marble IRC channel in freenode, watch out for Earthwings and utku.