Tooltip: different approach to get the current screen.

This commit is contained in:
ItsLemmy
2025-10-03 23:27:07 -04:00
parent b85576653a
commit 86127660fe
33 changed files with 32 additions and 83 deletions
@@ -14,7 +14,6 @@ import qs.Widgets
NBox {
id: root
property ShellScreen screen
property string uptimeText: "--"
RowLayout {
@@ -59,7 +58,6 @@ NBox {
}
NIconButton {
icon: "settings"
screen: root.screen
tooltipText: I18n.tr("tooltips.open-settings")
onClicked: {
settingsPanel.requestedTab = SettingsPanel.Tab.General
@@ -69,7 +67,6 @@ NBox {
NIconButton {
icon: "power"
screen: root.screen
tooltipText: I18n.tr("tooltips.session-menu")
onClicked: {
sessionMenuPanel.open()
@@ -79,7 +76,6 @@ NBox {
NIconButton {
icon: "close"
screen: root.screen
tooltipText: I18n.tr("tooltips.close")
onClicked: {
controlCenterPanel.close()