• Friedrich W. H. Kossebau's avatar
    Fix crash on text hint being triggered after disabling code browser plugin · 37d08f75
    Friedrich W. H. Kossebau authored
    From KTextEditor::TextHintInterface::registerTextHintProvider() docs:
    "When the provider is about to be destroyed, make sure to call
    unregisterTextHintProvider() to avoid a dangling pointer."
    (new requirement with KF5)
    
    The old code never unregistered in case the ContextBrowserPlugin was
    deleted (like it happens when disabling the plugin in the settings in
    a running KDevelop instance).
    
    CCBUG: 411371
    37d08f75
contextbrowser.cpp 62.3 KB