Quantcast
Channel: PowerDevil activity
Viewing all articles
Browse latest Browse all 1733

Jakob Petsovits commented on merge request !488 at Plasma / PowerDevil

$
0
0

Thanks for the patch, I think the overall idea is sound.

However, does it really make sense to test for configuredProfile in this line? I'm thinking that when p-p-d is uninstalled, the behavior should be the same regardless of whether or not the user had previously configured a profile when it was installed?

What would be going wrong if we simplified the expression to the following?

        readonly property bool isInDefaultPowerProfile: !activeProfile || activeProfile === defaultPowerProfile

Viewing all articles
Browse latest Browse all 1733

Trending Articles