Clean up tst_QGraphicsView::scrollBarRanges
Merge the two translation units into one, there's no reason for moving the code populating the test data away from the test function code. Remove some unnecessary QString<->QByteArray conversions in the test data. Task-number: QTBUG-114987 Change-Id: I20dc858c6dab683e19e35e5be4ecd4ff6d283164 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit ce0a92549e7a4164d60f3b7c723b9f0a8cf28f55) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
17fb626443
commit
7d53defbb3
@ -14,7 +14,6 @@ endif()
|
|||||||
qt_internal_add_test(tst_qgraphicsview
|
qt_internal_add_test(tst_qgraphicsview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsview.cpp tst_qgraphicsview.h
|
tst_qgraphicsview.cpp tst_qgraphicsview.h
|
||||||
tst_qgraphicsview_2.cpp
|
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_NO_CAST_TO_ASCII
|
QT_NO_CAST_TO_ASCII
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user