Do not hide title if only labels should be hidden
Title's sizeHint didn't take the visibility of labels into
consideration when calculating the size hint. Instead, we ended
up with "..." for titles when labels were to be hidden and
titles left visible.
Pick-to: 6.7 6.8
Fixes: QTBUG-127434
Change-Id: I123d4b0a41f09f1e130e43c03d4d89a1d3404b50
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| commit | c87a46337c8150272e65825f7899857b0cfb9042 |
| parent | 7140b7627cec2e0df94ae41ea42873c044b904c8 |
| author | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| committer | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| commit time | Mon, 12 Aug 2024 14:17:43 +0300 |