Review Request 121970: Fixing the crash when trying to close the script editor

Minh Ngo nlminhtl at
Sat Jan 10 17:10:26 UTC 2015

This is an automatically generated e-mail. To reply, visit:

Review request for KDE Edu, Alexander Rieder and Filipe Saraiva.

Bugs: 342696

Repository: cantor


Fixes the crash when trying to close the script editor.

When an user is closing the script editor, destroyed() signal of the class ScriptEditorWidget is called, the it will call CantorPart::scriptEditorClosed that will call CantorPart::showScriptEditor that will try to delete explicitly the initial caller (the ScriptEditorWidget), that was the cause of the crash.


  src/cantor_part.h fa7fd95 
  src/cantor_part.cpp d22c13c 



1. Run cantor
2. View -> Show Script Editor
3. Close Script Editor
4. Check that the check box from the "Show Script Editor" is in the unchecked state and the ScriptEditorWidget object has been destroyed successfully.


Minh Ngo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list