[FrameSvg] Use new-style connect
Reviwed-By: d_ed
This commit is contained in:
parent
b62118c90c
commit
46a8d86ee8
@ -60,7 +60,7 @@ FrameSvg::FrameSvg(QObject *parent)
|
|||||||
: Svg(parent),
|
: Svg(parent),
|
||||||
d(new FrameSvgPrivate(this))
|
d(new FrameSvgPrivate(this))
|
||||||
{
|
{
|
||||||
connect(this, SIGNAL(repaintNeeded()), this, SLOT(updateNeeded()));
|
connect(this, &FrameSvg::repaintNeeded, this, std::bind(&FrameSvgPrivate::updateNeeded, d));
|
||||||
d->frame = nullptr;
|
d->frame = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,7 +314,6 @@ private:
|
|||||||
friend class FrameData;
|
friend class FrameData;
|
||||||
|
|
||||||
//Q_PRIVATE_SLOT(d, void updateSizes())
|
//Q_PRIVATE_SLOT(d, void updateSizes())
|
||||||
Q_PRIVATE_SLOT(d, void updateNeeded())
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // Plasma namespace
|
} // Plasma namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user