Bug 323095

Summary: Remember tracking settings in the Marble KDE application
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: task Keywords: junior-jobs
Priority: NOR    
Version: 1.7 (KDE 4.12)   
Target Milestone: 1.8 (KDE 4.13)   
Platform: unspecified   
OS: Linux   
URL: http://www.google-melange.com/gci/task/view/google/gci2013/5885930825056256
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Nienhüser 2013-08-02 05:45:00 UTC
The Qt version remembers tracking settings like whether to automatically center on the current location. This is implemented in src/QtMainWindow.cpp around the code locations starting with settings.beginGroup( "Tracking" ).

Please port this to the KDE version: Add suitable config values to src/marble.kcfg and use them (the class MarbleSettings is autogenerated from marble.kcfg) in src/marble_part.cpp similar to how QtMainWindow.cpp does.
Comment 1 Dennis Nienhüser 2013-11-18 08:48:45 UTC
Instructions to set up Marble for development are at http://marble.kde.org/sources.php

Note that the locations of the files mentioned above has changed recently:
- src/QtMainWindow.cpp is now src/apps/marble-qt/QtMainWindow.cpp
- src/marble.kcfg is now src/apps/marble-kde/marble.kcfg
- src/marble_part.cpp is now src/apps/marble-kde/marble_part.cpp
Comment 2 Dennis Nienhüser 2013-11-20 19:23:24 UTC
Git commit 2838ed16ea0460b8f31216b709fad0281cdf4b62 by Dennis Nienhüser, on behalf of Levente Kurusa.
Committed on 20/11/2013 at 19:18.
Pushed by nienhueser into branch 'master'.

Remember tracking settings in the Marble KDE application

M  +1    -0    src/apps/marble-kde/KdeMainWindow.cpp
M  +20   -0    src/apps/marble-kde/marble.kcfg
M  +28   -0    src/apps/marble-kde/marble_part.cpp
M  +2    -0    src/apps/marble-kde/marble_part.h

http://commits.kde.org/marble/2838ed16ea0460b8f31216b709fad0281cdf4b62