From 1984458565462f0f7d54266021e7f1977bc4b302 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 16 Sep 2025 23:58:44 +1000 Subject: plugin: fix crashes Fixes #629 --- plugin/src/Caelestia/Services/serviceref.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin/src/Caelestia/Services/serviceref.hpp') diff --git a/plugin/src/Caelestia/Services/serviceref.hpp b/plugin/src/Caelestia/Services/serviceref.hpp index 072419e..1d2881d 100644 --- a/plugin/src/Caelestia/Services/serviceref.hpp +++ b/plugin/src/Caelestia/Services/serviceref.hpp @@ -1,6 +1,7 @@ #pragma once #include "service.hpp" +#include #include namespace caelestia { @@ -22,7 +23,7 @@ signals: void serviceChanged(); private: - Service* m_service; + QPointer m_service; }; } // namespace caelestia -- cgit v1.2.3-freya