VirtualBox

Changeset 59095 in vbox


Ignore:
Timestamp:
Dec 11, 2015 3:14:37 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104660
Message:

FE/Qt: Qt5 migration (part 38): No Mac style bugfix with Qt5, not necessary anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIListView.cpp

    r59094 r59095  
    3030/* Qt includes: */
    3131#ifdef Q_WS_MAC
    32 # include <qmacstyle_mac.h>
     32# if QT_VERSION < 0x050000
     33#  include <qmacstyle_mac.h>
     34# endif /* QT_VERSION < 0x050000 */
    3335#endif /* Q_WS_MAC */
    3436
     
    4951    setFrameShape (QFrame::Box);
    5052    focusChanged (NULL, qApp->focusWidget());
     53# if QT_VERSION < 0x050000
    5154    /* Nesty hack to disable the focus rect on the list view. This interface
    5255     * may change at any time! */
    5356    static_cast<QMacStyle *> (style())->setFocusRectPolicy (this, QMacStyle::FocusDisabled);
     57# endif /* QT_VERSION < 0x050000 */
    5458#endif /* Q_WS_MAC */
    5559}
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