Commit 276daef1 authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

MenuItem: Add 'parentMenu' property


This is needed since MenuItem is no longer a QQuickItem, and we cannot
access a QObject's parent from QML. Returns 0 for the topmost menu.

Change-Id: I76dd60cb0000066fc1ed675b4767efbcdfc69d0a
Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
parent b05d443f
Showing with 10 additions and 1 deletion
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