[rkward-cvs] SF.net SVN: rkward: [2073] branches/KDE4_port/rkward/windows

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Oct 15 21:53:06 UTC 2007


Revision: 2073
          http://rkward.svn.sourceforge.net/rkward/?rev=2073&view=rev
Author:   tfry
Date:     2007-10-15 14:53:06 -0700 (Mon, 15 Oct 2007)

Log Message:
-----------
A bit further down the road. Now it's a hang. Somehow we don't seem to process events?

Modified Paths:
--------------
    branches/KDE4_port/rkward/windows/rkcommandeditorwindow.cpp
    branches/KDE4_port/rkward/windows/rkcommandlog.cpp

Modified: branches/KDE4_port/rkward/windows/rkcommandeditorwindow.cpp
===================================================================
--- branches/KDE4_port/rkward/windows/rkcommandeditorwindow.cpp	2007-10-15 21:26:26 UTC (rev 2072)
+++ branches/KDE4_port/rkward/windows/rkcommandeditorwindow.cpp	2007-10-15 21:53:06 UTC (rev 2073)
@@ -348,10 +348,8 @@
 	RKFunctionArgHinter::view = view;
 
 	const QObjectList children = view->children ();
-	QObjectList::const_iterator it = children.constBegin();
-	QObject *obj;
-	while ((obj = *it) != 0) {
-		++it;
+	for (QObjectList::const_iterator it = children.constBegin(); it != children.constEnd (); ++it) {
+		QObject *obj = *it;
 		obj->installEventFilter (this);
 	}
 

Modified: branches/KDE4_port/rkward/windows/rkcommandlog.cpp
===================================================================
--- branches/KDE4_port/rkward/windows/rkcommandlog.cpp	2007-10-15 21:26:26 UTC (rev 2072)
+++ branches/KDE4_port/rkward/windows/rkcommandlog.cpp	2007-10-15 21:53:06 UTC (rev 2073)
@@ -237,13 +237,14 @@
 RKCommandLogView::RKCommandLogView (RKCommandLog *parent) : Q3TextEdit (parent) {
 	RK_TRACE (APP);
 
-	const QList<QObject*> list = children ();
+// KDE 4: disabled for now. And WTF was it supposed to be good for?
+/*	const QList<QObject*> list = children ();
 	QList<QObject*>::const_iterator it = list.constBegin ();
 
 	while (it != list.constEnd()) {
 		(*it)->installEventFilter (this);
 		++it;
-	}
+	} */
 }
 
 RKCommandLogView::~RKCommandLogView () {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list