1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00

Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing

This commit is contained in:
networkException 2021-08-21 16:14:30 +02:00 committed by Andreas Kling
parent 54bbe52b51
commit 938051feb8
Notes: sideshowbarker 2024-07-18 05:25:22 +09:00
25 changed files with 29 additions and 29 deletions

View file

@ -34,7 +34,7 @@ int main(int argc, char** argv)
return 1;
}
auto config = Core::ConfigFile::open(path);
auto config = Core::ConfigFile::open(path, value_to_write ? Core::ConfigFile::AllowWriting::Yes : Core::ConfigFile::AllowWriting::No);
if (value_to_write) {
config->write_entry(group, key, value_to_write);