From 8e36b687896b2be8fe894e9b6a5fc81d66a1bbca Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 16 Nov 2025 12:27:10 +0100 Subject: [PATCH] WallpaperPanel: wallhaven respects file name toggle --- Modules/Panels/Wallpaper/WallpaperPanel.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/Panels/Wallpaper/WallpaperPanel.qml b/Modules/Panels/Wallpaper/WallpaperPanel.qml index 25b853113..ea32701d9 100644 --- a/Modules/Panels/Wallpaper/WallpaperPanel.qml +++ b/Modules/Panels/Wallpaper/WallpaperPanel.qml @@ -921,7 +921,7 @@ SmartPanel { property int itemSize: cellWidth cellWidth: Math.floor((width - leftMargin - rightMargin) / columns) - cellHeight: Math.floor(itemSize * 0.7) + Style.marginXS + Style.fontSizeXS + Style.marginM + cellHeight: Math.floor(itemSize * 0.7) + Style.marginXS + (Settings.data.wallpaper.hideWallpaperFilenames ? 0 : Style.fontSizeXS + Style.marginM) leftMargin: Style.marginS rightMargin: Style.marginS @@ -1062,6 +1062,7 @@ SmartPanel { NText { text: wallpaperId || I18n.tr("wallpaper.unknown") + visible: !Settings.data.wallpaper.hideWallpaperFilenames color: hoverHandler.hovered || wallhavenGridView.currentIndex === index ? Color.mOnSurface : Color.mOnSurfaceVariant pointSize: Style.fontSizeXS Layout.fillWidth: true