Review Request 122840: custom-definesandincludes: don't crash on the configuration after pressing Apply
Sergey Kalinichev
kalinichev.so.0 at gmail.com
Sat Mar 7 06:37:12 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122840/#review77145
-----------------------------------------------------------
languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
<https://git.reviewboard.kde.org/r/122840/#comment53004>
While this solves the issue it'd be better if could initialize the compiler with the default value in the ConfigEntry constructor instead. Seems like this is the culprit here.
- Sergey Kalinichev
On March 6, 2015, 12:44 p.m., Miquel Sabaté Solà wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122840/
> -----------------------------------------------------------
>
> (Updated March 6, 2015, 12:44 p.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevelop
>
>
> Description
> -------
>
> I haven't touched the "Compilers" tab, so maybe this is why I'm getting this assert all the time. In this patch I've replaced the assert with a good ol'
>
> ```cpp
> if (!compiler) {
> ```
>
> Since this is an assert, I wanted to check this here first before pushing or anything :)
>
>
> Diffs
> -----
>
> languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp df2c425
>
> Diff: https://git.reviewboard.kde.org/r/122840/diff/
>
>
> Testing
> -------
>
> manual testing
>
>
> Thanks,
>
> Miquel Sabaté Solà
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150307/4bd1344c/attachment.html>
More information about the KDevelop-devel
mailing list