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:
parent
17f5a3073b
commit
7e1f2d79da
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user