Skip to content
Verified Commit 9d8d1de2 authored by Fushan Wen's avatar Fushan Wen
Browse files

appmenu: fix crash when there is no matched menu item

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
parent 373c5994
Pipeline #371068 passed with stage
in 18 minutes and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment