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
..
2015-01-15 07:23:48 +13:00
2014-06-26 15:47:02 -07:00
2014-02-08 08:00:27 -08:00
2015-01-10 17:27:25 -08:00
2015-01-10 17:27:24 -08:00
2014-10-14 20:33:46 +02:00
2014-10-14 20:33:46 +02:00
2014-12-17 08:09:54 -08:00
2014-06-26 15:47:02 -07:00
2014-11-17 06:02:21 +00:00
2014-11-17 06:02:21 +00:00
2015-01-10 17:27:25 -08:00
2015-01-04 07:42:28 -08:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2015-01-10 17:27:24 -08:00
2015-01-14 07:49:24 +13:00
2015-01-14 07:49:24 +13:00
2015-01-14 07:49:24 +13:00
2014-12-01 14:19:03 -08:00
2014-10-18 15:16:15 -07:00
2014-11-17 06:02:21 +00:00
2014-11-17 06:02:21 +00:00
2015-01-03 13:47:05 -08:00
2014-07-18 10:21:42 -07:00
2014-08-08 11:13:05 -07:00