Tomaz Canabrava db4ffd0b70 Fix memory leak
The QPainter and the QPixmap were being created but never freed. A QPixmap
and a QPainter don't need to be created by new, they can be safely created
on the stack.

So, create them on the stack, pass them via const-reference
and use them correctly.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-15 07:23:48 +13:00
..
2014-11-14 13:45:54 -08:00
2015-01-14 12:24:57 +13:00
2015-01-15 07:23:48 +13:00
2015-01-15 07:23:48 +13:00
2015-01-14 12:24:57 +13:00
2015-01-14 12:24:57 +13:00
2014-06-01 15:42:32 -07:00