tests: enforce Qt menubar in tst_QMenuBar::taskQTBUG56860_focus
... the same way other tests do in this file. Change-Id: Ifcaee084bd20c55d6b9f7ddcf35daebce2a02e07 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>bb10
parent
70b0c127f0
commit
f239dbe60a
|
|
@ -719,9 +719,7 @@ void tst_QMenuBar::taskQTBUG56860_focus()
|
|||
#endif
|
||||
QMainWindow w;
|
||||
QMenuBar *mb = w.menuBar();
|
||||
|
||||
if (mb->platformMenuBar())
|
||||
QSKIP("This test requires the Qt menubar.");
|
||||
mb->setNativeMenuBar(false);
|
||||
|
||||
QMenu *em = mb->addMenu("&Edit");
|
||||
em->setObjectName("EditMenu");
|
||||
|
|
|
|||
Loading…
Reference in New Issue