From ab384ed0d51428fb99a8118466411b49f4865c37 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Jul 2022 14:35:39 +0900 Subject: Use Scale & Crop as default style for wallpaper. Add more options to "Set as Background" menu in Konqueror. This resolves issue #280 and issue #281. Signed-off-by: Michele Calgaro Signed-off-by: Mavridis Philippe (cherry picked from commit 14bc816be9c921a6b004e0b0419e0c4c2f010b8c) --- kcontrol/background/bgdialog.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kcontrol/background/bgdialog.h') diff --git a/kcontrol/background/bgdialog.h b/kcontrol/background/bgdialog.h index 6b33d8999..607118337 100644 --- a/kcontrol/background/bgdialog.h +++ b/kcontrol/background/bgdialog.h @@ -99,8 +99,11 @@ protected: TQValueVector< TQPtrVector > m_renderer; // m_renderer[desk][screen] TQMap m_wallpaper; TQStringList m_patterns; - int m_slideShowRandom; // Remembers last Slide Show setting - int m_wallpaperPos; // Remembers last wallpaper pos + int m_slideShowRandom; // Remembers last Slide Show setting + int m_wallpaperPos; // Remembers last wallpaper pos + int m_prevWallpaperPos; // Previous normal wallpaper pos + int m_prevTilePos; // Previous tile wallpaper pos + bool m_isTile; // Whether the wallpaper is a tile (800x600 or smaller) BGMonitorArrangement * m_pMonitorArrangement; -- cgit v1.2.1