[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/irc/libkirc/kernel
From: Michel Hermier <michel.hermier () gmail ! com>
Date: 2008-10-02 19:16:01
Message-ID: 1222974961.107097.15125.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 867088 by hermier:
For now let's not leak an event until more proper event handling is done.
M +4 -1 kirccontext.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/irc/libkirc/kernel/kirccontext.cpp #867087:867088
@@ -19,6 +19,8 @@
#include "kircentity.h"
+#include <QtCore/QEvent>
+
using namespace KIrc;
class KIrc::ContextPrivate
@@ -128,8 +130,9 @@
void Context::postEvent(QEvent *event)
{
-// delete event;
+ // FIXME: use the Qt event system here
emit ircEvent( event );
+ delete event;
}
void Context::add(EntityPtr entity)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic