diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-11-14 17:52:55 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-14 13:45:54 -0800 |
commit | 1055b5afd35526c552eafcaf26d5f1d9aac43c86 (patch) | |
tree | 807c76e26e9c98fb7e0cd40d108f126c485f07c1 /qt-ui/profile/diveeventitem.h | |
parent | b800530bcdd7779126bd623532ad8f6add852425 (diff) | |
download | subsurface-1055b5afd35526c552eafcaf26d5f1d9aac43c86.tar.gz |
Fix memleak on Pixmap cache
as we load dives and dives, new DiveEvents will be created
but the transparent pixmap never deleted, also this makes
the transparent pixmap only for the correct event, not for
all of them.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveeventitem.h')
-rw-r--r-- | qt-ui/profile/diveeventitem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/diveeventitem.h b/qt-ui/profile/diveeventitem.h index 2657b3b50..f358fee6d 100644 --- a/qt-ui/profile/diveeventitem.h +++ b/qt-ui/profile/diveeventitem.h @@ -29,7 +29,6 @@ private: DiveCartesianAxis *hAxis; DivePlotDataModel *dataModel; struct event *internalEvent; - QPixmap *transparentPixmap; }; #endif // DIVEEVENTITEM_H |