qt5base-lts/tests/auto
Eskil Abrahamsen Blomfeldt f66a8edc20 Fix irrelevant error case in QSplitter test
The tst_QSplitter::replaceWidget() is testing that if you
replace a longer QLabel with a shorter one in a horizontal
splitter layout, then we *only* get a resize for the new,
shorter label (expanding it horizontally to match the
replaced widget, as documented).

But the test accidentally triggered the QTextDocument backend
for the QLabel by including HTML tags in its text. Due to
QTBUG-82954, it is possible that the QTextDocument height
includes the leading of the font in the last line, so if
the default font has a leading, the new label will be higher
than the QSplitter, and the splitter will expand its height,
causing resizes for the other labels as well.

Since this is not the case we are testing here, and it is
currently blocking the fix for QTBUG-80554, we simply make
the new label use the same plain text backend as the others.

Task-number: QTBUG-82954
Change-Id: I6bfa1f3648b0fc9758c57ab2fa95be2451995df3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-04-02 08:09:31 +02:00
..
cmake Remove qt6_use_modules 2020-03-25 08:39:43 +01:00
concurrent QtConcurrent: add fluent interface to configure a task before run 2020-03-29 20:44:32 +01:00
corelib Add support of failure handler callbacks to QFuture 2020-04-01 21:51:13 +02:00
dbus New QMetaType representation 2020-02-20 16:11:02 +01:00
gui Remove QRegExp based API and QRegExp usage from QTextDocument 2020-04-01 10:29:26 +02:00
guiapplauncher
installed_cmake
network Remove bearermanagement usage inside QNAM and QNetworkProxy 2020-04-01 21:35:12 +01:00
opengl Merge remote-tracking branch 'origin/5.15' into dev 2020-03-11 15:34:21 +01:00
other cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql tst_sqlquery: Skip datetime test if no database drivers are available 2020-03-23 13:09:00 +01:00
testlib Restructure testlib selftest project 2020-03-24 21:04:43 +01:00
tools Port test to QRegularExpression 2020-03-31 15:28:23 +02:00
widgets Fix irrelevant error case in QSplitter test 2020-04-02 08:09:31 +02:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
auto.pro
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00