[Qt-interest] Making convenience dialogs window modal

Acenes acenes at gmx.net
Thu Jan 29 08:02:50 CET 2009


Since I only use the dialogs window modal, I made these simple patches:

C:\Qt\4.4.3\src\gui\dialogs\qcolordialog.cpp, QColorDialog::QColorDialog
C:\Qt\4.4.3\src\gui\dialogs\qfontdialog.cpp, QFontDialog::QFontDialog

    setWindowModality(Qt::WindowModal); // setModal(modal);

The runned nmake for Qt again, and everything works as I need.


>>>>So I need to add another item to my patch-qt list.
>>Acenes, how will you solve this by adding anther item, can you please keep 
>>us updated how you are solving this , I had pain in doing this as I 
>>duplicated whole of their code as I suggested in my last email and it was 
>>pain in A.......





More information about the Qt-interest-old mailing list