Commit dee57b7e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated method

parent afda0e21
Pipeline #184650 passed with stage
in 2 minutes and 38 seconds
......@@ -528,7 +528,7 @@ void SpinBox::paintEvent(QPaintEvent* pe)
void SpinBox::initStyleOption(QStyleOptionSpinBox& so) const
{
so.init(this);
so.initFrom(this);
// so.activeSubControls = ??;
so.subControls = mUpDownOnly ? (QStyle::SC_SpinBoxUp | QStyle::SC_SpinBoxDown | QStyle::SC_SpinBoxFrame)
: (QStyle::SC_SpinBoxUp | QStyle::SC_SpinBoxDown | QStyle::SC_SpinBoxFrame | QStyle::SC_SpinBoxEditField);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment