Commit 4c4284f4 authored by Christoph Feck's avatar Christoph Feck
Browse files

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.

BUG: 208199

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1082643
parent b4afdc95
......@@ -378,6 +378,8 @@ TerminalDisplay::TerminalDisplay(QWidget *parent)
TerminalDisplay::~TerminalDisplay()
{
disconnect(_blinkTimer);
disconnect(_blinkCursorTimer);
qApp->removeEventFilter( this );
delete[] _image;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment