VirtualBox

Ignore:
Timestamp:
Jan 15, 2025 5:31:21 PM (5 weeks ago)
Author:
vboxsync
Message:

FE/Qt: VBox Manager: Init main shown window pointer at showEvent / polishing call; Especially important for Windows ARM where showEvent sequence is more immediate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r107289 r107795  
    578578    /* Show VirtualBox Manager: */
    579579    s_pInstance->show();
    580     /* Register in the modal window manager: */
    581     windowManager().setMainWindowShown(s_pInstance);
    582580}
    583581
     
    726724void UIVirtualBoxManager::polishEvent(QShowEvent *)
    727725{
     726    /* Register in the modal window manager: */
     727    windowManager().setMainWindowShown(s_pInstance);
     728
    728729    /* Make sure user warned about inaccessible media: */
    729730    QMetaObject::invokeMethod(this, "sltHandleMediumEnumerationFinish", Qt::QueuedConnection);
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