Review Request 128494: KPropertiesDialog: simplify button box usage, fix behavior on Esc

Jeremy Whiting jpwhiting at kde.org
Thu Jul 21 21:22:49 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128494/#review97728
-----------------------------------------------------------


Ship it!




Ship It!

- Jeremy Whiting


On July 21, 2016, 3:06 p.m., David Faure wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128494/
> -----------------------------------------------------------
> 
> (Updated July 21, 2016, 3:06 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> slotCancel() isn't called when pressing Esc or closing the window with
> the window manager button.
> 
> Doing this the more standard way (reimplementing accept() and reject())
> simplifies the code (since KPageDialog sets up the buttonbox this way already)
> and will be useful for knewfilemenutest which calls accept() on all types of dialog.
> 
> 
> Diffs
> -----
> 
>   src/widgets/kpropertiesdialog.h b451a6ffcb248beb324ef612a0336148c96bccc2 
>   src/widgets/kpropertiesdialog.cpp 808765c706ded7f109719bb2d731692fca0163d8 
>   tests/kpropertiesdialogtest.cpp 7b180608716fa7de0bb2e5221330d0be958ef945 
> 
> Diff: https://git.reviewboard.kde.org/r/128494/diff/
> 
> 
> Testing
> -------
> 
> Looking at the output from kpropertiesdialogtest, to ensure the signals are emitted, and only once.
> Tested OK, Cancel, Esc, Alt+F4.
> 
> 
> Thanks,
> 
> David Faure
> 
>

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


More information about the Kde-frameworks-devel mailing list