[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Kate crashes
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-06-09 9:18:30
[Download RAW message or body]

On Sunday 09 June 2002 01:19, John Firebaugh wrote:
> Kate is unusable with the latest changes. It fails an assert at
> KParts::Factory::createObject():
>
> assert( !parent || parent->isWidgetType() );
>
> This is because someone tried to create it like this:
>
> KTextEditor::Document *doc = KTextEditor::createDocument ("katepart", this,
> "Kate::Document");
>
> where 'this' is a KateDocManager, which is not a widget.
>
> Please fix this ASAP.
Ahh, that is because of somebody used kparts::component factory in ktexteditor, but why,
a katedocument need no parent widget, will revert that. 

>
> -John
> _______________________________________________
> kwrite-devel mailing list
> kwrite-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwrite-devel

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic