Bug 323095 - Remember tracking settings in the Marble KDE application
Summary: Remember tracking settings in the Marble KDE application
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 1.7 (KDE 4.12)
Platform: unspecified Linux
: NOR task
Target Milestone: 1.8 (KDE 4.13)
Assignee: marble-bugs
URL: http://www.google-melange.com/gci/tas...
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-08-02 05:45 UTC by Dennis Nienhüser
Modified: 2013-11-20 19:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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