broken konq-embed stuff in kde3.1
Luciano Montanaro
mikelima at virgilio.it
Tue Apr 8 18:31:06 BST 2003
Looking at the implementation for the problem I reported early,
I have a fix for the object construction error, but the file remains
uncompilable. I added a note before the wrong line, but I don't know what
kind of object must be returned, since there is not a Function object
to be constructed.
? kjs_window.patch
Index: kjs_window.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/ecma/kjs_window.cpp,v
retrieving revision 1.299.2.13
diff -u -r1.299.2.13 kjs_window.cpp
--- kjs_window.cpp 24 Mar 2003 12:50:02 -0000 1.299.2.13
+++ kjs_window.cpp 8 Apr 2003 16:27:50 -0000
@@ -509,7 +509,7 @@
}
#ifdef Q_WS_QWS
case _Konqueror: {
- Value k( new Konqueror(exec, m_part) );
+ Value k( new Konqueror(m_part) );
const_cast<Window *>(this)->put(exec, "konqueror", k,
DontDelete|ReadOnly|Internal);
return k;
}
@@ -1980,6 +1980,7 @@
}
}
+ // XXX this needs fixing.
return /*Function*/( new KonquerorFunc(this, p.qstring().latin1() ) );
}
--
Luciano Montanaro// My public GPG key can be /"\ ASCII RIBBON
\X/ found at wwwkeys.pgp.net \ / CAMPAIGN
X AGAINST HTML
/ \ MAIL
More information about the kfm-devel
mailing list