From 85af149c9b69772ad8c559bd9d771803383c5d05 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 22 Feb 2021 10:42:08 +0100 Subject: [PATCH] Initialize QStyleOptionHeaderV2 with correct version Amends 4c6579eacded086ad014b0fd2432095362c1d131 Pick-to: 6.1 Task-number: QTBUG-91224 Change-Id: I9a41db9354bff2fa706cf6053aa229cdca16759e Reviewed-by: Richard Moe Gustavsen --- src/widgets/styles/qstyleoption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/styles/qstyleoption.cpp b/src/widgets/styles/qstyleoption.cpp index 3e6a2b4bee..fba7bd071d 100644 --- a/src/widgets/styles/qstyleoption.cpp +++ b/src/widgets/styles/qstyleoption.cpp @@ -904,7 +904,7 @@ QStyleOptionHeader::QStyleOptionHeader(int version) variables to their default values. */ QStyleOptionHeaderV2::QStyleOptionHeaderV2() - : QStyleOptionHeaderV2(QStyleOptionHeader::Version) + : QStyleOptionHeaderV2(QStyleOptionHeaderV2::Version) { }