service/tray: silence compliance warnings

Almost every tray item is missing properties and these
messages pollute the log, masking more useful warnings.
This commit is contained in:
outfoxxed 2025-05-18 03:42:22 -07:00
parent 2e905f6447
commit 56b4ef3d21
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 10 additions and 10 deletions

View file

@ -65,19 +65,19 @@ StatusNotifierItem::StatusNotifierItem(const QString& address, QObject* parent)
QObject::connect(this->item, &DBusStatusNotifierItem::NewIcon, this, [this]() {
this->pIconName.requestUpdate();
this->pIconPixmaps.requestUpdate();
this->pIconThemePath.requestUpdate();
if (this->pIconThemePath.exists()) this->pIconThemePath.requestUpdate();
});
QObject::connect(this->item, &DBusStatusNotifierItem::NewOverlayIcon, this, [this]() {
this->pOverlayIconName.requestUpdate();
this->pOverlayIconPixmaps.requestUpdate();
this->pIconThemePath.requestUpdate();
if (this->pIconThemePath.exists()) this->pIconThemePath.requestUpdate();
});
QObject::connect(this->item, &DBusStatusNotifierItem::NewAttentionIcon, this, [this]() {
this->pAttentionIconName.requestUpdate();
this->pAttentionIconPixmaps.requestUpdate();
this->pIconThemePath.requestUpdate();
if (this->pIconThemePath.exists()) this->pIconThemePath.requestUpdate();
});
QObject::connect(this->item, &DBusStatusNotifierItem::NewToolTip, this, [this]() {