Brush up the qgraphicsproxywidget test
- Reduce clang-tidy warning from 789->591 (Use auto, nullptr, member initialization, etc). - Introduce string literals, replacing deprecated QLatin1String - Streamline/rearrange layout code - Fix QCOMPARE(.., bool) - User per-class includes following Qt conventions Task-number: QTBUG-128913 Change-Id: I787f39b5ddfe34ba18e33f469b68ccbcfc2709a3 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 25e16e20cc434f484380dfa59c1b8a3d6f772920) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
5d612a72ad
commit
607ac728ed
@ -16,6 +16,7 @@ qt_internal_add_test(tst_qgraphicsproxywidget
|
||||
tst_qgraphicsproxywidget.cpp
|
||||
DEFINES
|
||||
QTEST_QPA_MOUSE_HANDLING
|
||||
QT_NO_CAST_FROM_ASCII
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::Gui
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user