D6436: Fix crash on clicking "Show documentation for xyz" in code tooltip

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Jun 29 17:21:40 UTC 2017


apol accepted this revision.
apol added a comment.
This revision is now accepted and ready to land.


  Ugh, I've seen this issue. Fine by me if it's what it takes...

INLINE COMMENTS

> abstractnavigationcontext.cpp:250
> +        // which can happen e.g. due to focus change events resulting in tooltip destruction and thus this object
> +        qRegisterMetaType<IDocumentation::Ptr>("IDocumentation::Ptr");
> +        QMetaObject::invokeMethod(ICore::self()->documentationController(), "showDocumentation", Qt::QueuedConnection, Q_ARG(IDocumentation::Ptr, doc));

maybe `Q_DECLARE_METATYPE` in `idocumentation.h`?

REPOSITORY
  R33 KDevPlatform

BRANCH
  fixcrashondocslinkfromtooltip

REVISION DETAIL
  https://phabricator.kde.org/D6436

To: kossebau, #kdevelop, apol
Cc: apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170629/54d9565d/attachment.html>


More information about the KDevelop-devel mailing list