[Konsole-devel] Review Request 128342: Write profiles to the correct directory
Wolfgang Bauer
wbauer at tmo.at
Sat Jul 2 11:35:53 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128342/
-----------------------------------------------------------
Review request for Konsole and Kurt Hindenburg.
Bugs: 364336
http://bugs.kde.org/show_bug.cgi?id=364336
Repository: konsole
Description
-------
QStandardPaths::AppLocalDataLocation includes the application name, which is different than "konsole" when the kpart is embedded in another application.
Profiles are only read from QStandardPath::GenericDataLocation+"/konsole" though, so modifying profiles didn't work in that case (if built against Qt 5.4 or higher).
Revert to using QStandardPath::GenericDataLocation when writing a profile to restore the old behavior and make profile changes actually being remembered in applications that embed konsole-part.
Diffs
-----
src/ProfileWriter.cpp 32b8962
Diff: https://git.reviewboard.kde.org/r/128342/diff/
Testing
-------
Run yakuake, right-click on the embedded konsole-part, choose "Edit Current Profile" and change it. ("Manage Profiles" doesn't work because of bug#360072)
The changes are stored to ~/.local/share/konsole/ now and remembered across restarts.
It still works in konsole too.
Thanks,
Wolfgang Bauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160702/f1e184c5/attachment.html>
More information about the konsole-devel
mailing list