Skip to content

[panel] Fix 'Invalid write to global property "prefix"' error

The adjustPrefix() function did not specify whose prefix property it was writing to, so it ended up trying and failing to write to a global one.

This fixes the following error every time plasmashell is launched:

file:///home/nate/kde/usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:207: Error: Invalid write to global property "prefix"

cc @niccolove @mart

I could not find any visual changes resulting from this, but I am not very familiar with this code, so please tell me if this is clearly wrong. :)

Merge request reports