[Kde-games-devel] Review Request 122710: migrate old data to new XDG_DATA_DIR location

Mathias Kraus k.hias at gmx.de
Sun Mar 1 22:35:21 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122710/
-----------------------------------------------------------

(Updated March 1, 2015, 10:35 p.m.)


Review request for KDE Games and Laurent Montel.


Changes
-------

fix an issue


Repository: granatier


Description
-------

I'm not sure if this is correct. If QApplication is created before the migration, the data gets migrated, but the migrated settings and data are not used on the first run, only on the second. If the user open the config dialog at the first run, the default values are loaded and if the user does some changes and saves the changes, the old config will be overwritten.
If QApplication is created after the migration, the settings and data are used at the first run.


Diffs (updated)
-----

  src/main.cpp ab7cf2a 

Diff: https://git.reviewboard.kde.org/r/122710/diff/


Testing
-------

data are migrated on the first run


Thanks,

Mathias Kraus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20150301/730045c2/attachment.html>


More information about the kde-games-devel mailing list