qt6-bb10/tests/auto/widgets
Tor Arne Vestbø 79be5fa986 Make QWidgetPrivate::setVisible virtual
Initially the function was used as a helper function for QWidget,
implemented in da55a1b041. But with
e0bb9e81ab we started overriding it
e.g. QDialog. This "worked" because QDialog itself would call the
private helper, but left a footgun when called via a plain QWidget
pointer, as we did in 5ba0982b28.

That specific instance of the problem was solved by the change in
fc4c6fb5f6bd6bd63b13f1f8b5b7a7289a5fd230, but the trap still exists.

To ensure we can use the function in a polymorphic context in the
future we make it virtual.

Task-number: QTBUG-127806
Change-Id: Ic0810c5439b1e696cfbf199e701f41217acc5742
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 1a0f056f318417ba5e54c8110257b75cf5537acb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-12 17:26:50 +00:00
..
dialogs Return button index for deprecated QMessageBox APIs 2024-06-06 10:37:23 +00:00
effects Change license for tests files 2024-02-04 09:56:42 +01:00
graphicsview tests: blacklist tst_QGraphicsItem::cursor() 2024-08-12 09:43:39 +00:00
itemviews tests: blacklist tst_QHeaderView::stretchAndRestoreLastSection() 2024-08-10 07:57:32 +00:00
kernel Make QWidgetPrivate::setVisible virtual 2024-08-12 17:26:50 +00:00
styles QTBUG36933_brokenPseudoClassLookup() remove setActiveWindow() 2024-04-26 18:19:38 +02:00
util Use /tmp in tst_qcompleter on VxWorks 2024-06-12 15:53:35 +00:00
widgets tests: blacklist tst_QMenuBar::check_menuPosition() on U2404 2024-08-10 07:57:25 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00