Don't set margins by availableScreenRect in widget mode.
As of 89a3e34b in plasma-framework, availableScreenRect is defined on plasmoid even for applets instead of just containments. Therefore we now need to check for isContainment along for the prop (since the rect could still be null before the applet gets a containment).
parent
5945063f
Please register or sign in to comment