Don't notify about changing to the same state it was at

Summary:
The object tracker was telling me it's notifying the same value it
already got, and reading the code it seems to be already notifying when it
actually changes.

Test Plan: tests pass, plasma runs fine.

Reviewers: #plasma

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D21481
This commit is contained in:
Aleix Pol 2019-06-13 01:03:36 +02:00
parent bfc4ea6853
commit 52124c663e

View File

@ -109,7 +109,6 @@ void ContainmentPrivate::checkStatus(Plasma::Types::ItemStatus appletStatus)
{
//qCDebug(LOG_PLASMA) << "================== "<< appletStatus << q->status();
if (appletStatus == q->status()) {
emit q->statusChanged(appletStatus);
return;
}