Menu: Fix warning when menu opens
Menu: Fix warning when menu opens

Task-number: QTBUG-29862

Change-Id: I0a10aa103b1c4f5e0fba2e80eee7e07b6bc748fb
Reviewed-by: Gabriel de Dietrich <57b5c683f0b6abfc17ef151d5b68c8944258b63a@digia.com>

kobolabs/qtquickcontrols,kobolabs/qtquickcontrols,mizukusak/qtquickcontrols,drgvond/qtquickcontrols,richardmg/qtcomponents,mizukusak/qtquickcontrols,jfaust/qtquickcontrols,mizukusak/qtquickcontrols,drgvond/qtquickcontrols,drgvond/qtquickcontrols,richardmg/qtcomponents,richardmg/qtcomponents,jfaust/qtquickcontrols,jfaust/qtquickcontrols,kobolabs/qtquickcontrols