diff --git a/src/calamares/progresstree/ProgressTreeDelegate.cpp b/src/calamares/progresstree/ProgressTreeDelegate.cpp index e8f7700c3..f6b52b978 100644 --- a/src/calamares/progresstree/ProgressTreeDelegate.cpp +++ b/src/calamares/progresstree/ProgressTreeDelegate.cpp @@ -66,7 +66,7 @@ ProgressTreeDelegate::paint( QPainter* painter, { bool isFirstLevel = !index.parent().isValid(); - QStyleOptionViewItemV4 opt = option; + QStyleOptionViewItem opt = option; painter->save();