From 699f732146fc15034756d297ebb88df2d7f1e84b Mon Sep 17 00:00:00 2001 From: Marvin Dostal Date: Sun, 17 Jul 2022 22:13:20 +0200 Subject: [PATCH] sni: Remove unnecessary getIconByName call --- src/modules/sni/item.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/sni/item.cpp b/src/modules/sni/item.cpp index cd77964c..e30e5e8c 100644 --- a/src/modules/sni/item.cpp +++ b/src/modules/sni/item.cpp @@ -300,10 +300,6 @@ void Item::updateImage() { auto pixbuf = getIconPixbuf(); auto scaled_icon_size = getScaledIconSize(); - if (!pixbuf) { - pixbuf = getIconByName("image-missing", getScaledIconSize()); - } - // If the loaded icon is not square, assume that the icon height should match the // requested icon size, but the width is allowed to be different. As such, if the // height of the image does not match the requested icon size, resize the icon such that