service/tray: report misbehaving tray hosts

I've debugged broken tray items that just end up being a bad host far
too many times.
This commit is contained in:
outfoxxed 2024-11-17 01:30:54 -08:00
parent 0445eee33a
commit 36d1dbeb69
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
6 changed files with 25 additions and 2 deletions

View file

@ -268,14 +268,15 @@ void DBusPropertyGroup::updateAllViaGetAll() {
qCWarning(logDbusProperties).noquote()
<< "Error updating properties of" << this->toString() << "via GetAll";
qCWarning(logDbusProperties) << reply.error();
emit this->getAllFailed(reply.error());
} else {
qCDebug(logDbusProperties).noquote()
<< "Received GetAll property set for" << this->toString();
this->updatePropertySet(reply.value(), true);
emit this->getAllFinished();
}
delete call;
emit this->getAllFinished();
};
QObject::connect(call, &QDBusPendingCallWatcher::finished, this, responseCallback);

View file

@ -135,6 +135,7 @@ public:
signals:
void getAllFinished();
void getAllFailed(QDBusError error);
private slots:
void onPropertiesChanged(