Changeset 10157 in vbox
- Timestamp:
- Jul 3, 2008 3:13:17 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32690
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/QIMainDialog.cpp
r10092 r10157 52 52 bool deleteOnClose = testAttribute (Qt::WA_DeleteOnClose); 53 53 setAttribute (Qt::WA_DeleteOnClose, false); 54 bool wasShowModal = testAttribute (Qt::WA_ShowModal);55 setAttribute (Qt::WA_ShowModal, true);56 54 57 55 /* Create a local event loop */ … … 69 67 return QDialog::Rejected; 70 68 QDialog::DialogCode res = result(); 71 /* Set the old show modal attribute */72 setAttribute (Qt::WA_ShowModal, wasShowModal);73 69 /* Delete us in the case we should do so on close */ 74 70 if (deleteOnClose)
Note:
See TracChangeset
for help on using the changeset viewer.