294
292
UQ_WARNING << "Failed to decode image";
296
294
} else if (type == GTK_IMAGE_ICON_NAME) {
298
296
QIcon icon = QIcon::fromTheme(name);
299
297
pix = icon.pixmap(ICON_SIZE, ICON_SIZE);
300
298
} else if (type == GTK_IMAGE_GICON) {
302
300
QImage image = GImageUtils::imageForIconString(name, ICON_SIZE);
304
302
UQ_WARNING << "Failed to load icon from" << name;