Commit 64da16d7 authored by Halla Rempt's avatar Halla Rempt

Fix memory leak

parent 3dc5d60f
......@@ -70,7 +70,8 @@ KisAbstractSliderSpinBox::KisAbstractSliderSpinBox(QWidget* parent, KisAbstractS
, d_ptr(_d)
{
Q_D(KisAbstractSliderSpinBox);
changeEvent(new QEvent(QEvent::StyleChange));
QEvent e(QEvent::StyleChange);
changeEvent(&e);
d->upButtonDown = false;
d->downButtonDown = false;
......
Markdown is supported
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