The source project of this merge request has been removed.
Add support for user themes (Linux only)
Since I started to use Krita, I have noticed that it doesn't display the color schemes that are located in $HOME/.local/color-schemes
(The directory where downloaded color schemes are located) in Settings > Themes. So I added a few lines of code to and add those specific themes to the list. One thing is, I made the feature Linux only with the Q_OS_LINUX
flag, because having 2 color scheme directories for Mac and Windows would seem kind of weird.
Test Plan
Open up Krita, and head for option Theme in Settings. The color schemes found in $HOME/.local/color-schemes
should now be selectable
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.