mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
This commit is contained in:
committed by
Andreas Kling
parent
54bbe52b51
commit
938051feb8
Notes:
sideshowbarker
2024-07-18 05:25:22 +09:00
Author: https://github.com/networkException Commit: https://github.com/SerenityOS/serenity/commit/938051feb8d Pull-request: https://github.com/SerenityOS/serenity/pull/9501 Reviewed-by: https://github.com/awesomekling
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user