summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/Services/serviceref.hpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-22 22:08:46 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-22 22:08:46 +1000
commitf9fa8390137e93da8c9b93271e7ce85dfed55b7f (patch)
tree3de5488479524c86231d0d06a67edfcc583e13e4 /plugin/src/Caelestia/Services/serviceref.hpp
parentplugin: delete entries after emitting signal (diff)
downloadcaelestia-shell-f9fa8390137e93da8c9b93271e7ce85dfed55b7f.tar.gz
caelestia-shell-f9fa8390137e93da8c9b93271e7ce85dfed55b7f.tar.bz2
caelestia-shell-f9fa8390137e93da8c9b93271e7ce85dfed55b7f.zip
plugin/service: ref by object
Use QSet and auto unref on sender destruction
Diffstat (limited to 'plugin/src/Caelestia/Services/serviceref.hpp')
-rw-r--r--plugin/src/Caelestia/Services/serviceref.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/src/Caelestia/Services/serviceref.hpp b/plugin/src/Caelestia/Services/serviceref.hpp
index 1d2881d..f1bd0f5 100644
--- a/plugin/src/Caelestia/Services/serviceref.hpp
+++ b/plugin/src/Caelestia/Services/serviceref.hpp
@@ -14,7 +14,6 @@ class ServiceRef : public QObject {
public:
explicit ServiceRef(Service* service = nullptr, QObject* parent = nullptr);
- ~ServiceRef();
[[nodiscard]] Service* service() const;
void setService(Service* service);