Don't double emit titleChanged

Summary:
AppletInterface::setTitle calls Applet::setTitle -- which in turn emits
Applet::titleChanged

Applet::titleChanged is already connected to
AppletInterface::titleChanged

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3759
This commit is contained in:
David Edmundson 2016-12-20 12:07:53 +00:00
parent 793441b77b
commit 63a889ea0d

View File

@ -258,7 +258,6 @@ void AppletInterface::setTitle(const QString &title)
} }
applet()->setTitle(title); applet()->setTitle(title);
emit titleChanged();
} }
QString AppletInterface::toolTipMainText() const QString AppletInterface::toolTipMainText() const