@thiago: Looking at utils.py in your Check Books plugin that's not the actual code its using. Are you using a non-published version of the plugin?
You need to:
1) First look for QIcon.ic(PLUGIN_NAME + '/' + themed_name)
2) Then look for QIcon.ic(PLUGIN_NAME + '/' + non_themed_name)
3) Then look for get_icons('images/' + themed_name)
And note that with this approach your icons wont automatically change when going from light to dark mode you will have to listen to the signal and reset them manually.
|