Don't double emit iconChanged

Summary:
AppletInterface::setIcon calls Applet::setIcon which in turn emits
Applet::iconChanged

Applet::iconChanged is already connected to
AppletInterface::iconChanged

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3761
This commit is contained in:
David Edmundson 2016-12-20 12:13:05 +00:00
parent 17f5a3073b
commit 7e1f2d79da

View File

@ -250,7 +250,6 @@ void AppletInterface::setIcon(const QString &icon)
} }
applet()->setIcon(icon); applet()->setIcon(icon);
emit iconChanged();
} }
QString AppletInterface::title() const QString AppletInterface::title() const