• Jarek Kobus's avatar
    Properly delete plugins dependent on failed plugin · 68426717
    Jarek Kobus authored
    Init all class member pointers to NULL.
    This fixes possible crash on exit when dependent
    plugin was not loaded (e.g. TextEditor was missing).
    In this case plugin's constructor gets called,
    initialize() method is _not_ called
    and destructor gets called -> crash.
    
    Properly delete dependent plugins on
    a plugin which failed to initialize properly.
    
    Fix labels of deleted plugins inside an error dialog
    after pressing "Error Details" from "Installed Plugins"
    dialog.
    
    Change-Id: Iddc029a0f07dcba2501d734d142fb0e69e9383d3
    Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
    68426717
subversionplugin.h 6.6 KB