Review Request: Prevent KMessageBox instances with a parent from being application modal

David Jarvie djarvie at
Tue Aug 9 09:39:49 BST 2011

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 9, 2011, 8:39 a.m.)

Review request for kdelibs.


The patch has been revised to use the Options parameter to specify window-modal instead, as suggested by Thomas.


According to the apidocs, KMessageBox instances with a parent widget specified are supposed to be window modal, not application modal. This patch fixes this.

Diffs (updated)

  kdeui/dialogs/kmessagebox.cpp 939be89 
  kdeui/dialogs/kmessagebox.h 286880e 



Tested warningYesNo(), questionYesNoCancel() with a parent widget - widgets in a different window tree were still able to be used.

kmessageboxtest runs ok.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list