Commit 8a9addf4 authored by Dyami Caliri's avatar Dyami Caliri Committed by Morten Johan Sørvig
Browse files

QMenu check for null result from QPlatformMenu::menuItemForTag


QMenu needs to check result of QPlatformMenu::menuItemForTag to avoid
a crash dereferencing a null pointer.

Task-number: QTBUG-42327
Change-Id: Ie54a94caec7a5d756c459741df182fbe4e38bec0
Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@digia.com>
Showing with 4 additions and 2 deletions
Supports Markdown
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