mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
FileManager: Make symlink icons show up nicely in properties dialog
This commit is contained in:
parent
525509cfe6
commit
04bc654ae7
Notes:
sideshowbarker
2024-07-19 00:48:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/04bc654ae71
@ -170,8 +170,7 @@ PropertiesDialog::~PropertiesDialog() { }
|
||||
|
||||
void PropertiesDialog::update()
|
||||
{
|
||||
auto bitmap = GUI::FileIconProvider::icon_for_path(m_name, m_mode).bitmap_for_size(32);
|
||||
m_icon->set_bitmap(bitmap);
|
||||
m_icon->set_bitmap(GUI::FileIconProvider::icon_for_path(make_full_path(m_name), m_mode).bitmap_for_size(32));
|
||||
set_title(String::formatted("{} - Properties", m_name));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user