mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
This commit is contained in:
parent
54bbe52b51
commit
938051feb8
Notes:
sideshowbarker
2024-07-18 05:25:22 +09:00
Author: https://github.com/networkException
Commit: 938051feb8
Pull-request: https://github.com/SerenityOS/serenity/pull/9501
Reviewed-by: https://github.com/awesomekling
25 changed files with 29 additions and 29 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue