VirtualBox

Changeset 7766 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 7, 2008 12:12:33 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Enabled unified toolbar for the selector window on Mac OS X.

File:
1 edited

Legend:

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

    r7736 r7766  
    467467    /* VM list toolbar */
    468468    VBoxToolBar *vmTools = new VBoxToolBar (this);
     469#if defined (Q_WS_MAC) && (QT_VERSION >= 0x040300)
     470    /* Enable unified toolbars on Mac OS X. Available on Qt >= 4.3 */
     471    setUnifiedTitleAndToolBarOnMac (true);
     472    addToolBar (vmTools);
     473#else
    469474    leftVLayout->addWidget(vmTools);
     475#endif
    470476
    471477    /* VM list box */
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