[FrameSvgItemMargins] Don't update on repaintNeeded

FrameSvgItem already updates the margins in response to that.

Differential Revision: https://phabricator.kde.org/D4688
This commit is contained in:
Kai Uwe Broulik 2017-02-21 17:48:22 +01:00
parent 148ff6311b
commit 408b311662

View File

@ -184,7 +184,6 @@ FrameSvgItemMargins::FrameSvgItemMargins(Plasma::FrameSvg *frameSvg, QObject *pa
m_fixed(false) m_fixed(false)
{ {
//qDebug() << "margins at: " << left() << top() << right() << bottom(); //qDebug() << "margins at: " << left() << top() << right() << bottom();
connect(m_frameSvg, SIGNAL(repaintNeeded()), this, SLOT(update()));
} }
qreal FrameSvgItemMargins::left() const qreal FrameSvgItemMargins::left() const