summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro S. Andrade <[email protected]>2016-07-03 21:47:59 -0300
committerSandro S. Andrade <[email protected]>2016-07-03 21:47:59 -0300
commit5a4e2e21a27df86b172dbb176a161c8bd80345eb (patch)
tree44a5b25d50eb74e3ef803845a81e16cbf5325f15
parent87511fe76f07472815a48ea255949b722094a148 (diff)
Fix use of deprecated QStyleOptionViewItemV4
-rw-r--r--src/shell/wizard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/wizard.h b/src/shell/wizard.h
index f761a41..671429b 100644
--- a/src/shell/wizard.h
+++ b/src/shell/wizard.h
@@ -42,7 +42,7 @@ public:
{
if (index.column() == 1) {
painter->save();
- QStyleOptionViewItemV4 opt(option);
+ QStyleOptionViewItem opt(option);
QStyle *style = opt.widget ? opt.widget->style() : QApplication::style();
const int textMargin = style->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1;
style->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter, opt.widget);