summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-08-07 22:39:00 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 15:20:21 +0200
commit4d477824e0c2692af30625f6231558f168fe8469 (patch)
tree1d8b125e7ede88edbf950620e3a3fca865def634 /Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp
parent7676edfb9ba4d5052978968ba31ef940153ea7a9 (diff)
downloadserenity-4d477824e0c2692af30625f6231558f168fe8469.zip
DisplaySettings: Open the wallpaper file picker in the wallpaper path
This small change can indirectly tell you where wallpapers are saved.
Diffstat (limited to 'Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp')
-rw-r--r--Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp
index 955274b165..47c5ac8e14 100644
--- a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp
+++ b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp
@@ -61,7 +61,7 @@ void BackgroundSettingsWidget::create_frame()
auto& button = *find_descendant_of_type_named<GUI::Button>("wallpaper_open_button");
button.on_click = [this](auto) {
- auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.");
+ auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.", "/res/wallpapers");
if (!path.has_value())
return;
m_wallpaper_view->selection().clear();