Skip to content

shell: fix crash in PanelView::relativeConfigRect

Fushan Wen requested to merge work/fuf/raceyqml into master

Reason for the change

After a panel is added, its screen to follow can be set after the QML component is loaded, which will cause a crash because the QML component can access relativeConfigRect but the property doesn't guard against empty screen.

Test plan

Screenshots or screen recordings

Bugs fixed

SENTRY: PLASMA-WORKSPACE-DHF

Merge request reports

Loading