Skip to content

appmenu: fix crash when there is no matched menu item

Fushan Wen requested to merge work/fuf/467979 into Plasma/5.27

QList::first() will crash when QList is empty. We should use QList::empty() instead to guard against empty menu.

BUG: 467979 FIXED-IN: 5.27.5

Merge request reports