[PATCH] Fix KMessageBox::warningYesNoCancel message box creation

Olivier Goffart ogoffart at tiscalinet.be
Thu Jun 10 11:49:25 BST 2004


Le Mercredi 9 Juin 2004 05:53, Sébastien Laoût a écrit :
> But theire are cases when the MessageBox is a warning and it make no
> sense to always click "No".
> Such as : "Do you want to delete those files ?
>            [ ] Do not show again
>            [ Yes ]   [ No ]"
> If the user clicked Do not show again he expect the next time the
> files/items will be deleted without confirmation.

in that case, we don't use YesNo  but ContinueCancel.
in the case of ContinueCancel, the "Do not show again" has no effect if you 
press cancel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040610/d8d3ef2a/attachment.sig>


More information about the kde-core-devel mailing list