1
Fork 0
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:
Mustafa Quraish 2021-08-26 20:07:43 -04:00 committed by Andreas Kling
parent 7b62113db7
commit 22a1035f1b
4 changed files with 10 additions and 12 deletions

View file

@ -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;