Stabilize test qmenu::pushButtonPopulateOnAboutToShow().
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 8 Oct 2012 09:19:24 +0000 (11:19 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 8 Oct 2012 15:27:57 +0000 (17:27 +0200)
commit27e901de92308d475241c1a1eaf08f7393464545
tree6a10ff145dc9e673a3afac5cde1b06f63398cb68
parent38a6d7e7a1b3b14c9812f7dada4c82c5b0ec1fae
Stabilize test qmenu::pushButtonPopulateOnAboutToShow().

Do not leave an allocated menu in member lastMenu behind that
interferes with the consecutive QTBUG7907_submenus_autoselect().

Change-Id: I80fc9de9ca63367264f642023a244c1d7d8ada7f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp