Cleanup: replaced a bunch of Screen by their proper "screen"

This commit is contained in:
ItsLemmy
2025-11-17 14:53:47 -05:00
parent 2ae5aa90c9
commit f1d714ad9a
25 changed files with 34 additions and 20 deletions
+4
View File
@@ -7,6 +7,8 @@ import qs.Widgets
Item {
id: root
required property ShellScreen screen
property string icon: ""
property string text: ""
property string suffix: ""
@@ -43,6 +45,7 @@ Item {
Component {
id: verticalPillComponent
BarPillVertical {
screen: root.screen
icon: root.icon
text: root.text
suffix: root.suffix
@@ -68,6 +71,7 @@ Item {
Component {
id: horizontalPillComponent
BarPillHorizontal {
screen: root.screen
icon: root.icon
text: root.text
suffix: root.suffix
+2 -2
View File
@@ -8,7 +8,7 @@ import qs.Widgets
Item {
id: root
property ShellScreen screen
required property ShellScreen screen
property string icon: ""
property string text: ""
@@ -255,7 +255,7 @@ Item {
onEntered: {
hovered = true;
root.entered();
TooltipService.show(Screen, pill, root.tooltipText, BarService.getTooltipDirection(), Style.tooltipDelayLong);
TooltipService.show(screen, pill, root.tooltipText, BarService.getTooltipDirection(), Style.tooltipDelayLong);
if (forceClose) {
return;
}
+3 -1
View File
@@ -8,6 +8,8 @@ import qs.Widgets
Item {
id: root
required property ShellScreen screen
property string icon: ""
property string text: ""
property string suffix: ""
@@ -295,7 +297,7 @@ Item {
onEntered: {
hovered = true;
root.entered();
TooltipService.show(Screen, pill, root.tooltipText, BarService.getTooltipDirection(), Style.tooltipDelayLong);
TooltipService.show(screen, pill, root.tooltipText, BarService.getTooltipDirection(), Style.tooltipDelayLong);
if (forceClose) {
return;
}