Review Request 113970: KConfigDialog: Guard against editing buttons that do not exist.

Aleix Pol Gonzalez aleixpol at kde.org
Wed Nov 20 16:47:15 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113970/#review44053
-----------------------------------------------------------

Ship it!


Ship It!

- Aleix Pol Gonzalez


On Nov. 20, 2013, 4:33 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113970/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2013, 4:33 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> KConfigDialog: Guard against editing buttons that do not exist.
> 
> ButtonBox is public inside KPageDialog which means any other class can
> call setButtons() on it.
> 
> KConfigDialog can not reliably know that certain buttons exist, and
> should guard appropriately.
> 
> This fixes a crash in systemsettings in Plasma2
> 
> 
> Diffs
> -----
> 
>   tier3/kconfigwidgets/src/kconfigdialog.cpp 23ed3ee 
> 
> Diff: http://git.reviewboard.kde.org/r/113970/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131120/43911198/attachment.html>


More information about the Kde-frameworks-devel mailing list