[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/extragear/graphics/digikam/0.11/libs/widgets/common
From:       Andi Clemens <andi.clemens () gmx ! net>
Date:       2009-03-07 11:42:48
Message-ID: 1236426168.346249.30564.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 936263 by aclemens:

fix memory leak

 M  +5 -0      dcursortracker.cpp  
 M  +1 -0      dcursortracker.h  


--- branches/extragear/graphics/digikam/0.11/libs/widgets/common/dcursortracker.cpp \
#936262:936263 @@ -75,6 +75,11 @@
             this, SLOT(slotAutoHide()));
 }
 
+DCursorTracker::~DCursorTracker()
+{
+    delete d;
+}
+
 /**
  * Overload to make sure the widget size is correct
  */
--- branches/extragear/graphics/digikam/0.11/libs/widgets/common/dcursortracker.h \
#936262:936263 @@ -54,6 +54,7 @@
 public:
 
     DCursorTracker(const QString& txt, QWidget *parent);
+    ~DCursorTracker();
 
     void setText(const QString& txt);
     void setEnable(bool b);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic