qt5base-lts/tests/auto/widgets
Axel Spoerl 366b4d3ae7 tst_QDockWidget: Fix compiler warning in non-development build
Static variables for a message handler were used only in developer
build, while they were declared unconditionally.
That has lead to compiler warnings about unused variables in a
non developer build.

=> declare them only in developer build
=> move assignment and static method in front of the method,
that uses them.

Pick-to: 6.6 6.5
Change-Id: Ie06f91f7857130f08fd484a6e7319ddfd16c546b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-08-22 15:37:46 +02:00
..
dialogs tst_QWizard: port from QSharedPointer to std::shared_ptr 2023-08-14 23:11:54 +03:00
effects CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
graphicsview QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
itemviews QAbstractScrollArea: Don't include size of invisible scrollbars 2023-07-11 01:34:19 +02:00
kernel QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
styles Rename accent color in QPalette 2023-08-18 00:38:38 +02:00
util CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
widgets tst_QDockWidget: Fix compiler warning in non-development build 2023-08-22 15:37:46 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00