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

List:       kde-commits
Subject:    branches/extragear/kde3/libs/kipi-plugins/slideshow
From:       Andi Clemens <andi.clemens () gmx ! net>
Date:       2009-01-19 14:05:29
Message-ID: 1232373929.583329.16967.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 913544 by aclemens:

fix memory leak


 M  +1 -1      slideshow.cpp  
 M  +1 -1      slideshowgl.cpp  


--- branches/extragear/kde3/libs/kipi-plugins/slideshow/slideshow.cpp #913543:913544
@@ -110,7 +110,7 @@
     m_intArray      = 0;
     m_endOfShow     = false;
 
-    m_timer = new QTimer();
+    m_timer = new QTimer(this);
     connect(m_timer, SIGNAL(timeout()), 
             this, SLOT(slotTimeOut()));
 
--- branches/extragear/kde3/libs/kipi-plugins/slideshow/slideshowgl.cpp #913543:913544
@@ -134,7 +134,7 @@
 
     // --------------------------------------------------
 
-    m_timer = new QTimer();
+    m_timer = new QTimer(this);
     connect(m_timer, SIGNAL(timeout()),
             SLOT(slotTimeOut()));
     m_timer->start(m_timeout, true);
[prev in list] [next in list] [prev in thread] [next in thread] 

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