Bug 95775 - SOLVED

Andras Mantia amantia at kde.org
Wed Jan 5 14:43:25 GMT 2005


David Faure wrote:

> On Tuesday 04 January 2005 13:20, Andras Mantia wrote:
>> KParts::ReadOnlyPart *WHTMLPart::createPart( QWidget * parentWidget,
>> const char *widgetName,QObject */*parent*/, const char * /*name*/,const
>> QString &, QString &,QStringList &, const QStringList &)
>> {
>>    return new WHTMLPart(parentWidget, widgetName);
>> }
> 
> This kind of implementation is indeed seriously wrong - the part doesn't
> have the parent object that it's supposed to have...
> 

It can be wrong, but it worked. ;-) But now it should be fine (I hope) with
"return new WHTMLPart(parentWidget, widgetName, parent, name);"

Andras
-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org





More information about the kfm-devel mailing list