VirtualBox

Changeset 54935 in vbox


Ignore:
Timestamp:
Mar 24, 2015 6:50:52 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 7676: Runtime UI: Disk Encryption (DE) support: Make the password acquire dialog to be the window modal, which also means Mac OS X sheet.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIAddDiskEncryptionPasswordDialog.cpp

    r54833 r54935  
    411411void UIAddDiskEncryptionPasswordDialog::prepare()
    412412{
     413    /* Configure self: */
     414    setWindowModality(Qt::WindowModal);
     415
    413416    /* Create main-layout: */
    414417    QVBoxLayout *pMainLayout = new QVBoxLayout(this);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r54881 r54935  
    24372437    {
    24382438        /* Create corresponding dialog: */
     2439        QWidget *pDlgParent = windowManager().realParentWindow(activeMachineWindow());
    24392440        QPointer<UIAddDiskEncryptionPasswordDialog> pDlg =
    2440              new UIAddDiskEncryptionPasswordDialog(activeMachineWindow(),
     2441             new UIAddDiskEncryptionPasswordDialog(pDlgParent,
    24412442                                                   machineName(),
    24422443                                                   encryptedMediums);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette