Initialize QStyleOptionHeaderV2 with correct version

Amends 4c6579eacd

Pick-to: 6.1
Task-number: QTBUG-91224
Change-Id: I9a41db9354bff2fa706cf6053aa229cdca16759e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
Volker Hilsheimer 2021-02-22 10:42:08 +01:00
parent 7f1dc4bb75
commit 85af149c9b

View File

@ -904,7 +904,7 @@ QStyleOptionHeader::QStyleOptionHeader(int version)
variables to their default values.
*/
QStyleOptionHeaderV2::QStyleOptionHeaderV2()
: QStyleOptionHeaderV2(QStyleOptionHeader::Version)
: QStyleOptionHeaderV2(QStyleOptionHeaderV2::Version)
{
}