diff options
author | networkException <git@nwex.de> | 2021-08-21 16:14:30 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 01:32:25 +0200 |
commit | 938051feb8d9340657251082f3fd4abffd57b813 (patch) | |
tree | 7d71e8c592b4915dcb4930fde8ba6739f60450f1 /Userland/Applications/DisplaySettings | |
parent | 54bbe52b5143954dcdb700207de43343e5102ab8 (diff) | |
download | serenity-938051feb8d9340657251082f3fd4abffd57b813.zip |
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
Diffstat (limited to 'Userland/Applications/DisplaySettings')
-rw-r--r-- | Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp index b2a5028aaa..ccda3af442 100644 --- a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp +++ b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp @@ -118,7 +118,7 @@ void BackgroundSettingsWidget::load_current_settings() void BackgroundSettingsWidget::apply_settings() { - auto wm_config = Core::ConfigFile::get_for_app("WindowManager"); + auto wm_config = Core::ConfigFile::get_for_app("WindowManager", Core::ConfigFile::AllowWriting::Yes); wm_config->write_entry("Background", "Wallpaper", m_monitor_widget->wallpaper()); if (!m_monitor_widget->wallpaper().is_empty()) { |