https://bugs.kde.org/show_bug.cgi?id=205713

Jan Lepper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[email protected]
         Resolution|WORKSFORME                  |---

--- Comment #16 from Jan Lepper <[email protected]> ---
The bug is still present in git master.
It occurs when NULL is passed as parent widget to the factory funtion of
KOrganizerPart (can be seen from stack trace too).
This could happen by calling KService::createInstance (QObject *parent=0, const
QVariantList &args=QVariantList(), QString *error=0) .
KOrganizerPart()  then dereferences the null-pointer.
While the crash can be avoided by passing a valid parent widget (as I have now
done in the Krusader case *),
this shouldn't happen and the factory function should cast parent to QWidget if
possible - otherwise it should return 0.
Other KParts seem to to that too.

*)
http://quickgit.kde.org/index.php?p=krusader.git&a=commit&h=7b1f74a467c8389335fc96fc03ede51e0e710549

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to