[PATCH] Fix KMessageBox::warningYesNoCancel message box creation

Olivier Goffart ogoffart at tiscalinet.be
Tue Jun 8 18:32:05 BST 2004

Le Mardi 8 Juin 2004 13:53, ismail donmez a écrit :
> On Tuesday 08 June 2004 18:14, Olivier Goffart wrote:
> > It seems to me than the "yes" or "no" in the config file means than the
> > user pressed on the button Yes or on the button No.
> But it modifies dontAsk variable.

What i mean is that the dialog should be shown or hiden depending the state do 
the "don't show again"  checkbox.   
Not the result of the message box (i.e if the user pressed [Yes] or [No] )

if the "don't show again" is checked, then, the next time, the dialog is not 
shown, and the result is the same as the previous one.

Calling KMessageBox::saveDontShowAgainYesNo "save the fact that the message 
box should *not* be shown again." (from the API docs) 

There is AFAIK no API to show again a messagebox if the user selected "do not 
show again".  That's maybe a flaw.
-------------- 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/20040608/a43d886e/attachment.sig>

More information about the kde-core-devel mailing list