Hi. I need to show a icon in a compactRepresentation. I am able to show svg
images using SvgItem, but when I try to show a IconItem using the following
code:

PlasmaCore.IconItem {
            id: icon
            source: QIcon(plasmoid.file("images", "tomatoid-icon-red.png"))
        }

I get this:

https://lh4.googleusercontent.com/-Nt8dvqTwz40/UUol5cGoCEI/AAAAAAAAO4I/5HMyiCsahsc/s161/snapshot1.png
https://lh4.googleusercontent.com/-CjXo1uS6XXQ/UUol5kgrKWI/AAAAAAAAO4E/ZCZPWOMVzCw/s310/snapshot2.png


Is this a bug, or I am doing something wrong?

-- 
Arthur Taborda
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to