diff --git a/src/widgets/helper/SettingsDialogTab.cpp b/src/widgets/helper/SettingsDialogTab.cpp index a3b7bf81e..0160c496f 100644 --- a/src/widgets/helper/SettingsDialogTab.cpp +++ b/src/widgets/helper/SettingsDialogTab.cpp @@ -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);