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:
parent
793441b77b
commit
63a889ea0d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user