One bug...
F@lk Brettschneider
gigafalk at yahoo.com
Thu Jun 7 05:39:11 UTC 2001
Roland Krause wrote:
>
> The following code in docviewman.cpp:731 ff.
>
> // the first object we'll find is the layout,
> // the second test will be successful for the one and only embedded
> widget
> for ( pChild = pL->first(); pChild && !pView; pChild = pL->next()) {
> if (pChild->inherits("QWidget")) {
> pView = (QWidget*) pChild;
> }
> }
>
> if (CEditWidget* pEditView = dynamic_cast<CEditWidget*> (pView)) {
>
> tries to find the CEditWidget, it does find a QWidget (btw. a break
> is missing also) but the dynamic_cast to a CEditWidget pointer return 0
> so
> the document contained in the view is never given the chance to save
> itself.
>
> Maybe there is an easy fix, I dont see it, but I am confident that you
> will.
It seems your Solaris doesn't support dynamic casts, do it?
I am sure the embedded editor widget is always a CEditWidget. Or did you
already change it to KateView? ;-)
Ciao,
Falk
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list