mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-11-14 02:19:29 +00:00
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:
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() {};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user