VirtualBox

Changeset 12118 in vbox


Ignore:
Timestamp:
Sep 5, 2008 8:18:54 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36060
Message:

FE/Qt4-OSX: Enable sheets on all other windows than ConsoleWnd again.

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/QIMessageBox.cpp

    r12097 r12118  
    5757     * normal window in that case. */
    5858    VBoxConsoleWnd *cwnd = qobject_cast<VBoxConsoleWnd*> (aParent);
    59     if (cwnd != NULL &&
    60         !cwnd->isTrueFullscreen() &&
    61         !cwnd->isTrueSeamless())
     59    if (cwnd == NULL ||
     60        (!cwnd->isTrueFullscreen() &&
     61         !cwnd->isTrueSeamless()))
    6262        setWindowFlags (windowFlags() | Qt::Sheet);
    6363#endif /* Q_WS_MAC */
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxCloseVMDlg.cpp

    r12097 r12118  
    3737     * normal window in that case. */
    3838    VBoxConsoleWnd *cwnd = qobject_cast<VBoxConsoleWnd*> (aParent);
    39     if (cwnd != NULL &&
    40         !cwnd->isTrueFullscreen() &&
    41         !cwnd->isTrueSeamless())
     39    if (cwnd == NULL ||
     40        (!cwnd->isTrueFullscreen() &&
     41         !cwnd->isTrueSeamless()))
    4242        setWindowFlags (Qt::Sheet);
    4343#endif /* Q_WS_MAC */
Note: See TracChangeset for help on using the changeset viewer.

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