VirtualBox

Ignore:
Timestamp:
Jul 8, 2013 1:40:49 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Popup-center: Top-level popup-stack optimization for Win host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.cpp

    r47038 r47040  
    293293        {
    294294            pPopupStack->setParent(pParent,
    295 #ifdef Q_WS_X11
    296                                    /* Under X11 host *tool-window*:
    297                                     * 1. has no task-bar record as we want,
    298                                     * 2. do not rewoke activation/focus on show-event. */
     295#if defined(Q_WS_WIN) || defined(Q_WS_X11)
     296                                   /* Under Win and x11/KDE hosts *tool-window*:
     297                                    * 1. has no task-bar record,
     298                                    * 2. do not rewoke focus from current-window on show-event. */
    299299                                   Qt::Tool
    300 #else /* Q_WS_X11 */
    301                                    /* Under Mac host simple *window* is enough.
    302                                     * Need to test under Win host... */
     300#else /* Q_WS_WIN || Q_WS_X11 */
     301                                   /* Need to test under Mac host... */
    303302                                   Qt::Window
    304303#endif /* !Q_WS_X11 */
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