VirtualBox

Changeset 46839 in vbox


Ignore:
Timestamp:
Jun 27, 2013 12:28:42 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Multi-screen feature: Removing old Qt4.6 desktop-widget related hack.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMultiScreenLayout.cpp

    r45402 r46839  
    273273void UIMultiScreenLayout::calculateHostMonitorCount()
    274274{
    275 #if (QT_VERSION >= 0x040600)
    276275    m_cHostScreens = QApplication::desktop()->screenCount();
    277 #else /* (QT_VERSION >= 0x040600) */
    278     m_cHostScreens = QApplication::desktop()->numScreens();
    279 #endif /* !(QT_VERSION >= 0x040600) */
    280276}
    281277
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r46667 r46839  
    660660    m_iMaxVRAM = sys.GetMaxGuestVRAM();
    661661    m_iMaxVRAMVisible = m_iMaxVRAM;
    662 #if (QT_VERSION >= 0x040600)
    663662    const uint cHostScreens = QApplication::desktop()->screenCount();
    664 #else /* (QT_VERSION >= 0x040600) */
    665     const uint cHostScreens = QApplication::desktop()->numScreens();
    666 #endif /* !(QT_VERSION >= 0x040600) */
    667663    m_pSliderVideoMemorySize->setMinimum(m_iMinVRAM);
    668664    m_pSliderVideoMemorySize->setMaximum(m_iMaxVRAMVisible);
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