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:
commit
a875c3b91f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user