1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-02 20:36:44 +01:00

Merge pull request #6506 from jonaski/styleoptionframe

Replace use of QStyleOptionFrameV3
This commit is contained in:
John Maguire 2020-01-05 00:30:40 +00:00 committed by GitHub
commit a875c3b91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;