[mythtv] Depreciated calls to MythUIButtonListItem::setImage(MythImage *image, const QString &name="")

Paul Harrison mythtv at dsl.pipex.com
Tue Oct 14 22:28:30 UTC 2008


I see that function  is now depreciated so what is the alternative? Some 
documentation would be nice :-)

There's a couple of those calls in MythGallery iconview.cpp the first 
one is easy to replace just by re-ordering things and passing the image 
in the ctor but the second one is more tricky. The only way I can see is 
to save the thumb image to a file and use the SetImage(const QString 
&filename, const QString &name="") to load it back in. Not exactly 
efficient!

Paul H.




More information about the mythtv-dev mailing list