Review Request: Segfault when opening project configuration for kdev-python project
Sven Brauch
svenbrauch at gmx.de
Mon Nov 12 00:44:02 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107291/#review21853
-----------------------------------------------------------
Ship it!
Interesting, I never noticed that. But it indeed crashes.
What does it display when it works? Nothing, probably?
Maybe an error message should be displayed instead, then, saying that there's no configuration dialog for that project?
But not crashing is definitely much better than crashing, so I like this. :D
- Sven Brauch
On Nov. 11, 2012, 6:12 a.m., David Knapp wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107291/
> -----------------------------------------------------------
>
> (Updated Nov. 11, 2012, 6:12 a.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> Fixes a segfault crash due to a null pointer exception when opening the project configuration for a kdev-python project. The docs for IProject::buildSystemManager() says "@return the build system manager for the project, if one exists; otherwise null". The code previously however relied on that call returning a non-null pointer.
>
>
> Diffs
> -----
>
> shell/projectcontroller.cpp 6168066
>
> Diff: http://git.reviewboard.kde.org/r/107291/diff/
>
>
> Testing
> -------
>
> I can now open a config window for my python project
>
>
> Thanks,
>
> David Knapp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121112/6f3cf23f/attachment.html>
More information about the KDevelop-devel
mailing list