forked from quickshell/quickshell
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:
parent
0445eee33a
commit
36d1dbeb69
6 changed files with 25 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ public:
|
|||
[[nodiscard]] qint32 protocolVersion() const { return 0; } // NOLINT
|
||||
[[nodiscard]] bool isHostRegistered() const;
|
||||
[[nodiscard]] QList<QString> registeredItems() const;
|
||||
[[nodiscard]] bool isRegistered() const;
|
||||
|
||||
// NOLINTBEGIN
|
||||
void RegisterStatusNotifierHost(const QString& host);
|
||||
|
|
@ -54,6 +55,7 @@ private:
|
|||
QDBusServiceWatcher serviceWatcher;
|
||||
QList<QString> hosts;
|
||||
QList<QString> items;
|
||||
bool registered = false;
|
||||
};
|
||||
|
||||
} // namespace qs::service::sni
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue