Skip to content
Commit b1b0fc32 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


(cherry picked from commit 9d8d1de2)
parent 6dcd167a
Pipeline #371081 failed with stage
in 4 minutes and 37 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