diff options
Diffstat (limited to 'tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp')
-rw-r--r-- | tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp b/tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp index bcd7f4fdcc..b159d0e6c3 100644 --- a/tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp +++ b/tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp @@ -366,7 +366,7 @@ void tst_QMenu::keyboardNavigation() #ifdef Q_OS_MAC QT_BEGIN_NAMESPACE - extern bool qt_tab_all_widgets; // from qapplication.cpp +extern bool qt_tab_all_widgets(); // from qapplication.cpp QT_END_NAMESPACE #endif @@ -378,7 +378,7 @@ void tst_QMenu::focus() menu.addAction("Three"); #ifdef Q_OS_MAC - if (!qt_tab_all_widgets) + if (!qt_tab_all_widgets()) QSKIP("Computer is currently set up to NOT tab to all widgets," " this test assumes you can tab to all widgets"); #endif |