From c5381c5194adf97c240acb98eb4c4c950633b325 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 4 Aug 2025 22:45:15 +1000 Subject: internal: refactor widgets folder Split into subdirs and rename to components --- components/misc/Ref.qml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 components/misc/Ref.qml (limited to 'components/misc/Ref.qml') diff --git a/components/misc/Ref.qml b/components/misc/Ref.qml new file mode 100644 index 0000000..679f52f --- /dev/null +++ b/components/misc/Ref.qml @@ -0,0 +1,9 @@ +import Quickshell +import QtQuick + +QtObject { + required property Singleton service + + Component.onCompleted: service.refCount++ + Component.onDestruction: service.refCount-- +} -- cgit v1.2.3-freya