mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
QStyleOption::init() -> QStyleOption::initFrom()
Reference: - https://doc.qt.io/qt-5/qstyleoption-obsolete.html#init
This commit is contained in:
parent
0839e36177
commit
bddd5b021c
|
@ -53,7 +53,7 @@ void SettingsDialogTab::paintEvent(QPaintEvent *)
|
|||
QPainter painter(this);
|
||||
|
||||
QStyleOption opt;
|
||||
opt.init(this);
|
||||
opt.initFrom(this);
|
||||
|
||||
this->style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue