yes it did work with the QPixmap call!
On Fri, Mar 28, 2008 at 1:50 PM, Eskil Abrahamsen Blomfeldt <
[EMAIL PROTECTED]> wrote:
> Hi, Bruno.
>
> I've tracked down your bug in QIcon, and wanted to let you know about a
> possible work around for you that you can use until the bugfixed Qt
> Jambi is released. Replace the following line in your code:
>
> Bruno Janvier wrote:
> > but.setIcon(new
> > QIcon("classpath:images/iconshock/48/file_48.png"));
>
>
> with
>
> but.setIcon(new QIcon(new
> QPixmap("classpath:images/iconshock/48/file_48.png")));
>
> and I believe it should solve your problem, as it is seems only to be
> the QIcon constructor which takes a String that suffers from the bug.
>
> -- Eskil
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest