[FrameSvg] Use new-style connect

Reviwed-By: d_ed
This commit is contained in:
Kai Uwe Broulik 2017-09-21 14:33:28 +02:00
parent b62118c90c
commit 46a8d86ee8
2 changed files with 1 additions and 2 deletions

View File

@ -60,7 +60,7 @@ FrameSvg::FrameSvg(QObject *parent)
: Svg(parent),
d(new FrameSvgPrivate(this))
{
connect(this, SIGNAL(repaintNeeded()), this, SLOT(updateNeeded()));
connect(this, &FrameSvg::repaintNeeded, this, std::bind(&FrameSvgPrivate::updateNeeded, d));
d->frame = nullptr;
}

View File

@ -314,7 +314,6 @@ private:
friend class FrameData;
//Q_PRIVATE_SLOT(d, void updateSizes())
Q_PRIVATE_SLOT(d, void updateNeeded())
};
} // Plasma namespace