https://bugs.kde.org/show_bug.cgi?id=361971

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/krit
                   |                            |a/d07168fcd08e9e2d048c396c7
                   |                            |bf29be4cf96f021
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit d07168fcd08e9e2d048c396c7bf29be4cf96f021 by Dmitry Kazakov.
Committed on 05/05/2016 at 11:09.
Pushed by dkazakov into branch 'master'.

Fix ordering of the resource paths (random resources/tags resets should go
now!)

Need help testing on all OS types now! This patch should fix the
random resetting of all the user resources on restarting Krita. It
happened, because Krita randomly tried to load them from the
system-wide settings instead of the local user one

Patch contents:

1) Resources fetched using QStandardPaths::locateAll() should have
   absolute priority over our own paths. That is caused by the fact
   that Qt sorts the returned resources by the usage priority, that is
   ~/.local/* will be first in the list. Whereas our resources are
   usually meant to be system-wide and not writable.

2) For the same reason we should never use QSet over the returned
   resources, since it doesn't preserve ordering

3) This patch should also fix random 'Tags' resetting when restarting
   Krita.
Fixes T2418
CC:kimages...@kde.org

M  +66   -37   libs/widgetutils/KoResourcePaths.cpp

http://commits.kde.org/krita/d07168fcd08e9e2d048c396c7bf29be4cf96f021

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to