<div dir="ltr"><div style><span style="background-color:rgb(255,255,255)"><span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">Hi. I need to show a icon in a </span></span><font color="#555555" face="arial, sans-serif"><span style="line-height:18px">compactRepresentation. I am able to show svg images using SvgItem, but when I try to show a IconItem using the following code:</span></font></div>
<span style="background-color:rgb(255,255,255)"><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"><span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">PlasmaCore.IconItem {</span><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">
<span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"> id: icon</span><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"><span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"> source: QIcon(plasmoid.file("images", "tomatoid-icon-red.png"))</span><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">
<span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"> }</span><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">
<span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">I get this:</span></span><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(248,248,248)">
<br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(248,248,248)"><span style="background-color:rgb(255,255,255)"><a href="https://lh4.googleusercontent.com/-Nt8dvqTwz40/UUol5cGoCEI/AAAAAAAAO4I/5HMyiCsahsc/s161/snapshot1.png" class="" rel="nofollow"><font color="#3366cc" face="arial, sans-serif"><span style="line-height:18px">https://lh4.googleusercontent.com/-Nt8dvqTwz40/UUol5cGoCEI/AAAAAAAAO4I/5HMyiCsahsc/s161/snapshot1.png</span></font></a><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">
<a href="https://lh4.googleusercontent.com/-CjXo1uS6XXQ/UUol5kgrKWI/AAAAAAAAO4E/ZCZPWOMVzCw/s310/snapshot2.png" class="" rel="nofollow" style="color:rgb(51,102,204);text-decoration:none;font-family:arial,sans-serif;font-size:13px;line-height:18px">https://lh4.googleusercontent.com/-CjXo1uS6XXQ/UUol5kgrKWI/AAAAAAAAO4E/ZCZPWOMVzCw/s310/snapshot2.png</a><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">
<br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"><br style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px"><span style="color:rgb(85,85,85);font-family:arial,sans-serif;font-size:13px;line-height:18px">Is this a bug, or I am doing something wrong?</span></span><br clear="all">
<div><br></div>-- <br>Arthur Taborda
</div>