mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
This commit is contained in:
parent
54bbe52b51
commit
938051feb8
25 changed files with 29 additions and 29 deletions
|
@ -43,7 +43,7 @@ void MailSettingsWindow::write_values()
|
|||
|
||||
MailSettingsWindow::MailSettingsWindow()
|
||||
{
|
||||
m_config = Core::ConfigFile::get_for_app("Mail");
|
||||
m_config = Core::ConfigFile::get_for_app("Mail", Core::ConfigFile::AllowWriting::Yes);
|
||||
if (unveil(m_config->filename().characters(), "rwc") < 0) {
|
||||
perror("unveil");
|
||||
GUI::Application::the()->quit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue