feat: use singleton connection to systemstats

it has been found in #174, that if there are multiple instances of
widget, it keeps subscribing on all sources, because of how dbus
interface works.

In order to hande it, all subscriptions are now kept from singleton with
tracking active clients
This commit is contained in:
arcanis committed 2026-01-30 16:03:45 +02:00
1 parent 7e13e1eef7
commit 59e3b21071
6 files changed
+81 -11

No files matched your search

@@ -32,7 +32,7 @@ public:
[[nodiscard]] virtual QString format(const QVariant &_value, const QString &_key,
const AWPluginFormatSettings &_settings) const
= 0;
virtual void load(){};
virtual void load() {};
};