1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

TextEditor: Unveil the full path to the config file

Unveil ~/.config/TextEditor.ini instead of the whole config directory.
This commit is contained in:
Ralf Donau 2021-07-23 19:44:31 +02:00 committed by Andreas Kling
parent aacb1f0bf4
commit 7d579b04c5
3 changed files with 15 additions and 3 deletions

View file

@ -8,6 +8,7 @@
#include <AK/Function.h>
#include <AK/LexicalPath.h>
#include <LibCore/ConfigFile.h>
#include <LibFileSystemAccessClient/Client.h>
#include <LibGUI/ActionGroup.h>
#include <LibGUI/Application.h>
@ -42,6 +43,8 @@ public:
void update_title();
void initialize_menubar(GUI::Window&);
static RefPtr<Core::ConfigFile> open_config_file();
private:
MainWidget();
void set_path(StringView const&);