VirtualBox

Changeset 35796 in vbox


Ignore:
Timestamp:
Jan 31, 2011 5:17:12 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: works in XP as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMListView.cpp

    r35763 r35796  
    601601        /* Transparent icons are not supported on all platforms. */
    602602#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
    603 # ifdef Q_WS_WIN
    604     /* Todo: check Win XP, Vista, 2003 */
    605 #  if (QT_VERSION >= 0x040500)
    606     if (QSysInfo::windowsVersion() == QSysInfo::WV_WINDOWS7)
    607 #  endif /* QT_VERSION >= 0x040500 */
    608 # endif /* Q_WS_WIN */
    609     {
    610         p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
    611         p.fillRect(image.rect(), QColor(0, 0, 0, 177));
    612     }
     603    p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
     604    p.fillRect(image.rect(), QColor(0, 0, 0, 177));
    613605#endif /* defined(Q_WS_MAC) || defined(Q_WS_WIN) */
    614606    p.end();
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