Replace use of QStyleOptionFrameV3

This commit is contained in:
Jonas Kvinge 2020-01-04 23:40:12 +01:00
parent 0308a3f9a5
commit a70537b83f
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#include "ratingwidget.h"
#include <QMouseEvent>
#include <QStyleOptionFrameV3>
#include <QStyleOptionFrame>
#include <QStylePainter>
#include <QtDebug>
@ -120,7 +120,7 @@ void RatingWidget::paintEvent(QPaintEvent* e) {
QStylePainter p(this);
// Draw the background
QStyleOptionFrameV3 opt;
QStyleOptionFrame opt;
opt.initFrom(this);
opt.state |= QStyle::State_Sunken;
opt.frameShape = QFrame::StyledPanel;