forked from quickshell/quickshell
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:
parent
2e905f6447
commit
56b4ef3d21
2 changed files with 10 additions and 10 deletions
|
@ -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]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue