rooty requested review of this revision. rooty added a comment.
There's a bug here that arises if I use the if-then-else syntax F6617956: image.png <https://phabricator.kde.org/F6617956> If I use the ternary operator this doesn't happen F6617962: image.png <https://phabricator.kde.org/F6617962> Can anyone please help me figure out why? This is my first function ever so :D There were bound to be some kinks... REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D19036 To: rooty, #plasma, #vdg, broulik, ngraham Cc: filipf, ngraham, abetts, broulik, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart