[PATCH] error compiliing kdelibs/khtml/rendering/render_replaced.cpp

Jason Harris kstars at 30doradus.org
Sat Sep 6 13:32:44 BST 2003


Hello,

When compiling kdelibs, I get:

render_replaced.cpp: In member function `void
   khtml::RenderWidget::handleEvent(const DOM::MouseEventImpl&)':
render_replaced.cpp:493: no matching function for call to `DOM::
MouseEventImpl
   ::id() const'
../../khtml/xml/dom2_eventsimpl.h:95: candidates are: DOM::EventImpl::
EventId
   DOM::EventImpl::id() <near match>
make[3]: *** [render_replaced.lo] Error 1

This code was committed yesterday.

The attached patch fixes it by casting a MouseEventImpl as a EventImpl.

regards,
Jason
-- 
KStars: A KDE Planetarium
http://edu.kde.org/kstars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: render_replaced.patch
Type: text/x-diff
Size: 636 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030906/fffdea2d/attachment.patch>


More information about the kde-core-devel mailing list