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
commit 7d579b04c5
Notes: sideshowbarker 2024-07-18 05:21:46 +09:00
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&);