Better panel naming and removed ref to SettingsWindow

This commit is contained in:
quadbyte 2025-08-12 21:33:22 -04:00
parent 9a70d8028a
commit ce22559ee2
6 changed files with 22 additions and 31 deletions

View file

@ -8,7 +8,7 @@ import qs.Widgets
import qs.Modules.Audio
import qs.Modules.Bar
import qs.Modules.Calendar
import qs.Modules.DemoPanel
import qs.Modules.Demo
import qs.Modules.Background
import qs.Modules.SidePanel
import qs.Modules.Notification
@ -31,25 +31,20 @@ ShellRoot {
id: sidePanel
}
Calendar {
id: calendarPanel
}
SettingsPanel {
id: settingsPanel
}
Notification {
id: notification
}
Calendar {
id: calendar
}
SettingsWindow {
id: settingsWindow
}
Component.onCompleted: {
PanelManager.settingsWindow = settingsWindow
// Ensure our singleton is created as soon as possible
// so we start fetching weather asap if necessary
// Ensure our singleton is created as soon as possible so we start fetching weather asap
Location.init()
}
}