forked from Shinonome/dots-hyprland
tooltips: use builtin text prop, fix crash (#1956)
This commit is contained in:
@@ -111,7 +111,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
StyledToolTip {
|
||||
content: Translation.tr("Tip: Close a window with Super+Q")
|
||||
text: Translation.tr("Tip: Close a window with Super+Q")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -250,13 +250,13 @@ ApplicationWindow {
|
||||
konachanWallProc.running = true;
|
||||
}
|
||||
StyledToolTip {
|
||||
content: Translation.tr("Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers")
|
||||
text: Translation.tr("Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers")
|
||||
}
|
||||
}
|
||||
RippleButtonWithIcon {
|
||||
materialIcon: "wallpaper"
|
||||
StyledToolTip {
|
||||
content: Translation.tr("Pick wallpaper image on your system")
|
||||
text: Translation.tr("Pick wallpaper image on your system")
|
||||
}
|
||||
onClicked: {
|
||||
Quickshell.execDetached([`${Directories.wallpaperSwitchScriptPath}`]);
|
||||
|
||||
Reference in New Issue
Block a user