Hi everybody!

I'm trying to make my dialogs modal with flag Qt::WindowModal.
The parent window is dialog also, shown by calling its slot show(), so the main window is non-modal itself. The children dialogs call setWindowModality(WindowModal) in their ctors. And when I show those dialogs by calling show() they appear non-modal.

Am I missing something? How can I force those dialogs to be modal?