diff view/View.h @ 1215:c603aba61702 3.0-integration

Fix memory leak of cache pixmaps in View
author Chris Cannam
date Fri, 13 Jan 2017 10:22:04 +0000
parents 6828735468c9
children 37f86e26a8d2
line wrap: on
line diff
--- a/view/View.h	Thu Jan 05 14:30:49 2017 +0000
+++ b/view/View.h	Fri Jan 13 10:22:04 2017 +0000
@@ -490,8 +490,8 @@
     bool                m_lightBackground;
     bool                m_showProgress;
 
-    QPixmap            *m_cache;
-    QPixmap            *m_buffer;
+    QPixmap            *m_cache;  // I own this
+    QPixmap            *m_buffer; // I own this
     sv_frame_t          m_cacheCentreFrame;
     int                 m_cacheZoomLevel;
     bool                m_selectionCached;