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.
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
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