FileManager: Make symlink icons show up nicely in properties dialog

This commit is contained in:
Andreas Kling 2020-12-16 16:09:27 +01:00
parent 525509cfe6
commit 04bc654ae7
Notes: sideshowbarker 2024-07-19 00:48:04 +09:00

View File

@ -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));
}