summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-21 20:23:52 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 21:49:54 +0100
commit1e7adf5cb632331fca3532342a18a190325d6746 (patch)
tree1804d81907e302f66f9e7ca97fa11e3bb270ea8b /Userland/Libraries/LibGUI
parent1ec225f5ba010155662f527e3b136a5ef34b28da (diff)
downloadserenity-1e7adf5cb632331fca3532342a18a190325d6746.zip
LibGUI: Resolve cyclic inclusion
Application.h includes Widget.h which includes Application.h. I'm not entirely sure what the semantics are in this case, but avoiding this seems to be the safer approach. In this case, Widget does not actually use Application, so let's just remove the unused include.
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/Widget.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Widget.h b/Userland/Libraries/LibGUI/Widget.h
index 1f14ef14d4..03dafc6a33 100644
--- a/Userland/Libraries/LibGUI/Widget.h
+++ b/Userland/Libraries/LibGUI/Widget.h
@@ -29,7 +29,6 @@
#include <AK/JsonObject.h>
#include <AK/String.h>
#include <LibCore/Object.h>
-#include <LibGUI/Application.h>
#include <LibGUI/Event.h>
#include <LibGUI/Forward.h>
#include <LibGUI/Margins.h>