Use what is already available in KCoreAddons, instead of two custom
versions of it.
Details
Builds fine, and the standard formatting is used.
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Hi, @pino!
The patch looks and works fine! Please push it into master! We cannot backport it into 4.1 though, because we are in a string freeze. But in the future we should really use KFormat for such things :)
Can I backport it, if I exclude the changes to libs/ui/widgets/kis_custom_image_widget.cc? Removing strings (especially if not needed anymore) is usually OK during string freezes.
It is part of the KCoreAddons framework, already used in various places (even in kritaui already, that is why I did not even need to add new libraries to link).
Sorry... i was away this evening watching a movie that's 105 years old. But yes, I'm fine with this change. When we created this code we just didn't know about the pre-existing functionality.