Review Request 124034: Fixes an issue where the installed kritarc is not used

Victor Wåhlström kdebugs at draconic-illusion.com
Sun Jun 7 17:58:52 BST 2015


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

Review request for Calligra.


Repository: calligra


Description
-------

For some reason KGlobal::config() is constructed before all paths have been added. This results in fallback kritarc files not being parsed at startup. Side effects include bad initial UI layout, and blacklisted tools showing up in the toolbox. This patch forces KGlobal::config() to reconsider all config files on disk after paths have been added.


Diffs
-----

  krita/ui/KisApplication.cpp 6b83573 

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


Testing
-------

Tests done on Kubuntu 15.04

Closed Krita, removed user version of kritarc (~/.kde/share/config/kritarc), started Krita without the patch, observed bad layout and tools which shouldn't be in the toolbox.

Closed Krita, removed user version of kritarc (~/.kde/share/config/kritarc), started Krita with the patch, observed good default layout and expected tools in toolbox.


Thanks,

Victor Wåhlström

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20150607/a8c5ce63/attachment.htm>


More information about the calligra-devel mailing list