summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/androiddevicedialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/androiddevicedialog.cpp b/gui/androiddevicedialog.cpp
index 63bd51ef..df2f4d39 100644
--- a/gui/androiddevicedialog.cpp
+++ b/gui/androiddevicedialog.cpp
@@ -135,7 +135,7 @@ public:
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
{
- QStyleOptionViewItemV4 opt = option;
+ QStyleOptionViewItem opt = option;
initStyleOption(&opt, index);
painter->save();
@@ -213,7 +213,7 @@ public:
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
{
- QStyleOptionViewItemV4 opt = option;
+ QStyleOptionViewItem opt = option;
initStyleOption(&opt, index);
QFontMetrics fm(option.font);