Changeset 10091 in vbox for trunk/src/VBox
- Timestamp:
- Jul 2, 2008 10:30:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/QIMainDialog.cpp
r10090 r10091 51 51 setResult (QDialog::Rejected); 52 52 bool deleteOnClose = testAttribute (Qt::WA_DeleteOnClose); 53 setAttribute (Qt::WA_DeleteOnClose, false);53 setAttributeq (Qt::WA_DeleteOnClose, false); 54 54 bool wasShowModal = testAttribute (Qt::WA_ShowModal); 55 55 setAttribute (Qt::WA_ShowModal, true); … … 70 70 QDialog::DialogCode res = result(); 71 71 /* Set the old show modal attribute */ 72 setAttribute (Qt::WA_ShowModal, wasShowModal);72 setAttribute (Qt::WA_ShowModal, wasShowModal); 73 73 /* Delete us in the case we should do so on close */ 74 74 if (deleteOnClose)
Note:
See TracChangeset
for help on using the changeset viewer.