From a9f7d1efc154ee039c47cf37cb48342b08848014 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 7 Aug 2025 16:59:13 +1000 Subject: controlcenter: add header when floating --- modules/controlcenter/WindowFactory.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/controlcenter/WindowFactory.qml') diff --git a/modules/controlcenter/WindowFactory.qml b/modules/controlcenter/WindowFactory.qml index 75550c3..f5c6b73 100644 --- a/modules/controlcenter/WindowFactory.qml +++ b/modules/controlcenter/WindowFactory.qml @@ -38,6 +38,8 @@ Singleton { implicitWidth: cc.implicitWidth implicitHeight: cc.implicitHeight + title: qsTr("Caelestia Settings - %1").arg(cc.active.slice(0, 1).toUpperCase() + cc.active.slice(1)) + ControlCenter { id: cc @@ -46,7 +48,7 @@ Singleton { floating: true function close(): void { - win.visible = false; + win.destroy(); } } -- cgit v1.2.3-freya