Fix Qt6 building (#4393)
This commit is contained in:
@@ -54,7 +54,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user