mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 01:40:46 +00:00
FileManager: Replace Label with Image component to show icons
This commit is contained in:
parent
900aaf68d4
commit
02eb268c3e
Notes:
sideshowbarker
2024-07-19 05:34:55 +09:00
Author: https://github.com/asliturk
Commit: 02eb268c3e
Pull-request: https://github.com/SerenityOS/serenity/pull/2573
2 changed files with 5 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/Dialog.h>
|
||||
#include <LibGUI/FileSystemModel.h>
|
||||
#include <LibGUI/Image.h>
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/TextBox.h>
|
||||
|
||||
|
@ -86,7 +87,7 @@ private:
|
|||
GUI::FileSystemModel& m_model;
|
||||
RefPtr<GUI::Button> m_apply_button;
|
||||
RefPtr<GUI::TextBox> m_name_box;
|
||||
RefPtr<GUI::Label> m_icon;
|
||||
RefPtr<GUI::Image> m_icon;
|
||||
String m_name;
|
||||
String m_path;
|
||||
mode_t m_mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue