chore: lint

This commit is contained in:
Alex
2024-09-19 17:31:07 +02:00
parent b5395f4e6f
commit 21af48fdc9
2 changed files with 6 additions and 5 deletions

View File

@ -154,8 +154,7 @@ void AAppIconLabel::updateAppIcon() {
update_app_icon_ = false;
if (app_icon_name_.empty()) {
image_.set_visible(false);
}
else if (app_icon_name_.front() == '/') {
} else if (app_icon_name_.front() == '/') {
auto pixbuf = Gdk::Pixbuf::create_from_file(app_icon_name_);
int scaled_icon_size = app_icon_size_ * image_.get_scale_factor();
pixbuf = Gdk::Pixbuf::create_from_file(app_icon_name_, scaled_icon_size, scaled_icon_size);