summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-10-29 15:31:53 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-10-29 15:31:53 (GMT)
commit53e3e69f5417496386ca2eac8c251ce5205372b4 (patch)
tree8bf76f2e95c81b53334a53ad58b441a1d4f6b45d
parent29fcd2d8f20e8855ee145414a70c1f9e3446865e (diff)
Port away from obsolete QStyleOptionViewItemV4
-rw-r--r--src/widgets/agenttypewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/agenttypewidget.cpp b/src/widgets/agenttypewidget.cpp
index 3044724..b8a71b6 100644
--- a/src/widgets/agenttypewidget.cpp
+++ b/src/widgets/agenttypewidget.cpp
@@ -189,7 +189,7 @@ void AgentTypeWidgetDelegate::paint(QPainter *painter, const QStyleOptionViewIte
int wc = fm.boundingRect(0, 0, 0, 0, Qt::AlignLeft, comment).width();
int wp = pixmap.width();
- QStyleOptionViewItemV4 opt(option);
+ QStyleOptionViewItem opt(option);
opt.showDecorationSelected = true;
QApplication::style()->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter);