1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

Taskbar: Move 'Assistant' Desktop::AppFile to member for quicker access

We care about showing 'Assistant' app as fast as possible when the
hotkey is pressed. In order to do that, we can parse the `.af` file
ahead of time and have it ready to use.
This commit is contained in:
Spencer Dixon 2021-06-24 09:24:26 -04:00 committed by Andreas Kling
parent b9d1ef99de
commit cef2f55a8b
2 changed files with 8 additions and 4 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include "WindowList.h"
#include <LibDesktop/AppFile.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
@ -40,4 +41,6 @@ private:
Gfx::IntSize m_applet_area_size;
RefPtr<GUI::Frame> m_applet_area_container;
RefPtr<GUI::Button> m_start_button;
RefPtr<Desktop::AppFile> m_assistant_app_file;
};