From 32ff695d9e2993fcc904a58b3f5486b2285e8825 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:29:38 +1000 Subject: filedialog: better icon filtering Only thumbnail valid image types Also move wallpaper extensions into separate singleton in utils --- modules/background/Wallpaper.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/background') diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml index 57f5dc0..2ec4927 100644 --- a/modules/background/Wallpaper.qml +++ b/modules/background/Wallpaper.qml @@ -66,7 +66,7 @@ Item { title: qsTr("Select a wallpaper") filterLabel: qsTr("Image files") - filters: Wallpapers.extensions + filters: Images.validImageExtensions onAccepted: path => Wallpapers.setWallpaper(path) } -- cgit v1.2.3-freya