tooltips: use builtin text prop, fix crash (#1956)

This commit is contained in:
end-4
2025-09-20 11:55:38 +02:00
parent 3a01dad945
commit 429cb50ff7
36 changed files with 116 additions and 103 deletions
@@ -334,7 +334,7 @@ MouseArea {
iconSize: Appearance.font.pixelSize.larger
}
StyledToolTip {
content: Translation.tr("Use the system file picker instead\nRight-click to make this the default behavior")
text: Translation.tr("Use the system file picker instead\nRight-click to make this the default behavior")
}
}
@@ -352,7 +352,7 @@ MouseArea {
iconSize: Appearance.font.pixelSize.larger
}
StyledToolTip {
content: Translation.tr("Pick random from this folder")
text: Translation.tr("Pick random from this folder")
}
}
@@ -366,7 +366,7 @@ MouseArea {
iconSize: Appearance.font.pixelSize.larger
}
StyledToolTip {
content: Translation.tr("Click to toggle light/dark mode\n(applied when wallpaper is chosen)")
text: Translation.tr("Click to toggle light/dark mode\n(applied when wallpaper is chosen)")
}
}
@@ -417,7 +417,7 @@ MouseArea {
iconSize: Appearance.font.pixelSize.larger
}
StyledToolTip {
content: Translation.tr("Cancel wallpaper selection")
text: Translation.tr("Cancel wallpaper selection")
}
}
}