mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:17:35 +00:00
FileManager: Make symlink icons show up nicely in properties dialog
This commit is contained in:
parent
525509cfe6
commit
04bc654ae7
1 changed files with 1 additions and 2 deletions
|
@ -170,8 +170,7 @@ PropertiesDialog::~PropertiesDialog() { }
|
||||||
|
|
||||||
void PropertiesDialog::update()
|
void PropertiesDialog::update()
|
||||||
{
|
{
|
||||||
auto bitmap = GUI::FileIconProvider::icon_for_path(m_name, m_mode).bitmap_for_size(32);
|
m_icon->set_bitmap(GUI::FileIconProvider::icon_for_path(make_full_path(m_name), m_mode).bitmap_for_size(32));
|
||||||
m_icon->set_bitmap(bitmap);
|
|
||||||
set_title(String::formatted("{} - Properties", m_name));
|
set_title(String::formatted("{} - Properties", m_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue