VirtualBox

Changeset 64768 in vbox


Ignore:
Timestamp:
Nov 30, 2016 6:18:21 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112117
Message:

FE/Qt: bugref:8678: Make sure Mac OS X Sheets are properly z-ordered in case when Import Appliance wizard and New Version Notifier message are both shown at VBox Manager startup, else there will be a UI lock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r64331 r64768  
    6868# include "UIExtraDataManager.h"
    6969# include "UIDesktopWidgetWatchdog.h"
     70# include "UIModalWindowManager.h"
    7071# include "VBoxGlobal.h"
    7172# ifdef VBOX_WS_MAC
     
    429430    QString strTmpFile = strFileName;
    430431#endif /* !VBOX_WS_MAC */
    431     UISafePointerWizardImportApp pWizard = new UIWizardImportApp(this, strTmpFile);
     432
     433    /* Use the "safe way" to open stack of Mac OS X Sheets: */
     434    QWidget *pWizardParent = windowManager().realParentWindow(this);
     435    UISafePointerWizardImportApp pWizard = new UIWizardImportApp(pWizardParent, strTmpFile);
     436    windowManager().registerNewParent(pWizard, pWizardParent);
    432437    pWizard->prepare();
    433438    if (strFileName.isEmpty() || pWizard->isValid())
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