Display date and time of the last owncloud sync in Marble
completed by: Illya Kovalevskyy
mentors: Utku Aydın, 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!
Marble's owncloud synchronization settings widget has a button to trigger a manual synchronization. Add a label next to the button that shows the date and time of the last sync run. If there has been no synchronization yet, display something like "Never synced".
To get the information about the last sync run, add a method
QDateTime lastSync() const
to BookmarkSyncManager. Its implementation should use QFileInfo::created on d->lastSyncedKmlPath(). If lastSyncedKmlPath() is empty, return an invalid QDateTime (in that case the settings widget should report "Never synced".
- The easiest way to reach Marble developers to help you is to visit the #marble IRC channel in freenode. Watch out for Earthwings