Am 15.05.2015 um 14:49 schrieb Enrico Forestieri <[email protected]>:

> On Fri, May 15, 2015 at 12:04:50PM +0200, Stephan Witt wrote:
>> 
>> I'll try to get it running on Linux to see how it works there. Meanwhile,
>> I'm interested in comments.
> 
> Please, don't pass back and forth QPixmap objects on the stack. These
> are big objects, potentially. Instead, use
> 
> bool getPixmap(QString const & path, QPixmap & pm)
> {
>       // deal with QPixmap
> 
>       return !pm.isNull();
> }

Ok, thank you. I'll change it.

Stephan

Reply via email to