mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
HexEditor: Use LibConfig instead of Core::ConfigFile
This commit is contained in:
parent
7b62113db7
commit
22a1035f1b
4 changed files with 10 additions and 12 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "HexEditorWidget.h"
|
||||
#include <LibConfig/Client.h>
|
||||
#include <LibGUI/Icon.h>
|
||||
#include <LibGUI/Menubar.h>
|
||||
#include <stdio.h>
|
||||
|
@ -19,6 +20,8 @@ int main(int argc, char** argv)
|
|||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
|
||||
Config::pledge_domains("HexEditor");
|
||||
|
||||
if (pledge("stdio recvfd sendfd rpath cpath wpath thread", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue