rokrau at yahoo.com
Fri Jun 8 16:19:43 UTC 2001
I 've found the problem.
CKDevelop::slotFileClose() calls m_docViewManager->doFileClose()
which in turn calls closeView() with pCurEditView as an argument.
That wont work because closeView expects the argument to be a pointer
to a window.
I changed the parameter to the closeView() call to a
m_MDICoverList.last() which does the trick.
a) clean this up a little bit
b) change the parameter for closeView() from a QWidget* to a
QMDIChildWindow* or something to prevent this in the future.
Will commit this later, please have a look.
--- "F at lk Brettschneider" <gigafalk at yahoo.com> wrote:
> Hi Roland,
> Roland Krause wrote:
> > Falk,
> > yes my Solaris buils is based on gcc-2.95.2, so yes, it does
> > dynamic casts.
> > And, no I have not changed to kateView yet.
> > So there is a bug somewhere in here. Maybe it is that the break
> > statement is missing and that there is more than one child that
> > inherits QWidget?
> But suddenly I suppose what could be wrong... Maybe you use the
> mode and we probably have the case the kwrite widget isn't directly
> embedded in a QextMdiChildView but embedded in a KDockWidget that is
> embedded in a QextMdiChildView... just a thought.... Can you check
> See DocViewMan::addQExtMDIFrame(..) for details of the embedding.
> F at lk
> 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«
In the garage of life there are mechanics and
there are drivers. Mechanics wanted!
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
More information about the KDevelop-devel