summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/MonitorWidget.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-10-26 10:16:44 -0400
committerAndreas Kling <kling@serenityos.org>2021-01-15 19:13:46 +0100
commit699ba84bea7c79abab30547f6ac4e97e8cb363a3 (patch)
tree95bb0479aebef5f9317363dea76f307cd51ffb27 /Userland/Applications/DisplaySettings/MonitorWidget.cpp
parent56cad36ef259332e603df8494cfaee4f34915beb (diff)
downloadserenity-699ba84bea7c79abab30547f6ac4e97e8cb363a3.zip
DisplaySettings: Rename wallpaper setting "scaled" to "stretch"
I want to add a scale factor for picking pixel density, and using the same terminology for wallpaper handling would be confusing.
Diffstat (limited to 'Userland/Applications/DisplaySettings/MonitorWidget.cpp')
-rw-r--r--Userland/Applications/DisplaySettings/MonitorWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
index d6b809d449..e998b1f228 100644
--- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp
+++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
@@ -96,7 +96,7 @@ void MonitorWidget::paint_event(GUI::PaintEvent& event)
screen_painter.blit_offset(screen_rect.location(), *m_desktop_wallpaper_bitmap, screen_rect, offset);
} else if (m_desktop_wallpaper_mode == "tile") {
screen_painter.draw_tiled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap);
- } else if (m_desktop_wallpaper_mode == "scaled") {
+ } else if (m_desktop_wallpaper_mode == "stretch") {
screen_painter.draw_scaled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap, m_desktop_wallpaper_bitmap->rect());
} else {
ASSERT_NOT_REACHED();