Changeset 46839 in vbox
- Timestamp:
- Jun 27, 2013 12:28:42 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
-
runtime/UIMultiScreenLayout.cpp (modified) (1 diff)
-
settings/machine/UIMachineSettingsDisplay.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMultiScreenLayout.cpp
r45402 r46839 273 273 void UIMultiScreenLayout::calculateHostMonitorCount() 274 274 { 275 #if (QT_VERSION >= 0x040600)276 275 m_cHostScreens = QApplication::desktop()->screenCount(); 277 #else /* (QT_VERSION >= 0x040600) */278 m_cHostScreens = QApplication::desktop()->numScreens();279 #endif /* !(QT_VERSION >= 0x040600) */280 276 } 281 277 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r46667 r46839 660 660 m_iMaxVRAM = sys.GetMaxGuestVRAM(); 661 661 m_iMaxVRAMVisible = m_iMaxVRAM; 662 #if (QT_VERSION >= 0x040600)663 662 const uint cHostScreens = QApplication::desktop()->screenCount(); 664 #else /* (QT_VERSION >= 0x040600) */665 const uint cHostScreens = QApplication::desktop()->numScreens();666 #endif /* !(QT_VERSION >= 0x040600) */667 663 m_pSliderVideoMemorySize->setMinimum(m_iMinVRAM); 668 664 m_pSliderVideoMemorySize->setMaximum(m_iMaxVRAMVisible);
Note:
See TracChangeset
for help on using the changeset viewer.

