summaryrefslogtreecommitdiff
path: root/Services/SystemMenu/main.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-28 01:06:38 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-28 01:28:07 +0100
commit58890e03b660c7251172cb7405d68f5971cbc9fa (patch)
tree4a03d57e5e366ffa02ad8c40c5cb95e082c4d331 /Services/SystemMenu/main.cpp
parent97c42694dba07fce34321eee60e73601eb959dbd (diff)
downloadserenity-58890e03b660c7251172cb7405d68f5971cbc9fa.zip
Everywhere: Move AppFile from LibGUI to LibDesktop
This was mentioned in #4574, and the more I think about it the more it feels just right - let's move it there! :^) Having to link LaunchServer against LibGUI explicitly should've been telling enough...
Diffstat (limited to 'Services/SystemMenu/main.cpp')
-rw-r--r--Services/SystemMenu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/SystemMenu/main.cpp b/Services/SystemMenu/main.cpp
index 32a57e8c8b..fc63bf3d24 100644
--- a/Services/SystemMenu/main.cpp
+++ b/Services/SystemMenu/main.cpp
@@ -30,9 +30,9 @@
#include <LibCore/ConfigFile.h>
#include <LibCore/DirIterator.h>
#include <LibCore/StandardPaths.h>
+#include <LibDesktop/AppFile.h>
#include <LibGUI/Action.h>
#include <LibGUI/ActionGroup.h>
-#include <LibGUI/AppFile.h>
#include <LibGUI/Application.h>
#include <LibGUI/FileIconProvider.h>
#include <LibGUI/Icon.h>
@@ -103,7 +103,7 @@ int main(int argc, char** argv)
Vector<String> discover_apps_and_categories()
{
HashTable<String> seen_app_categories;
- GUI::AppFile::for_each([&](auto af) {
+ Desktop::AppFile::for_each([&](auto af) {
g_apps.append({ af->executable(), af->name(), af->category() });
seen_app_categories.set(af->category());
});