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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/apps/konsole/src
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2010-02-24 4:40:16
Message-ID: 1266986416.433058.31986.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1095369 by hindenburg:

Disconnect timers early

When a TerminalDisplay is destroyed, the timers are still active
until they are deleted by QObject, so they could fire when anything
in the QWidget or QObject destructor processes events.

CCBUG: 208199


 M  +2 -0      TerminalDisplay.cpp  


--- branches/KDE/4.4/kdebase/apps/konsole/src/TerminalDisplay.cpp #1095368:1095369
@@ -378,6 +378,8 @@
 
 TerminalDisplay::~TerminalDisplay()
 {
+  disconnect(_blinkTimer);
+  disconnect(_blinkCursorTimer);
   qApp->removeEventFilter( this );
   
   delete[] _image;
[prev in list] [next in list] [prev in thread] [next in thread] 

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