Changeset 59155 in vbox for trunk/src/VBox
- Timestamp:
- Dec 16, 2015 3:12:59 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59079 r59155 224 224 } 225 225 machineLogic()->initializePostPowerUp(); 226 227 /* Load VM settings: */ 228 loadVMSettings(); 226 229 227 230 #ifdef VBOX_WITH_VIDEOHWACCEL … … 951 954 , m_fIsValidPointerShapePresent(false) 952 955 , m_fIsHidingHostPointer(true) 956 /* VM settings flags: */ 957 , m_fIsHWVirtExEnabled(false) 953 958 { 954 959 } … … 1939 1944 } 1940 1945 1946 void UISession::loadVMSettings() 1947 { 1948 /* Load VM settings: */ 1949 /* CPU hardware virtualization extensions: */ 1950 m_fIsHWVirtExEnabled = m_debugger.GetHWVirtExEnabled(); 1951 } 1952 1941 1953 UIFrameBuffer* UISession::frameBuffer(ulong uScreenId) const 1942 1954 { -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r59079 r59155 253 253 /** Updates Video Capture action state. */ 254 254 void updateStatusVideoCapture() { sltVideoCaptureChange(); } 255 256 /** Returns whether HW virtualization extension is enabled. */ 257 bool isHWVirtExEnabled() const { return m_fIsHWVirtExEnabled; } 255 258 256 259 signals: … … 386 389 bool postprocessInitialization(); 387 390 int countOfVisibleWindows(); 391 /** Loads VM settings. */ 392 void loadVMSettings(); 388 393 389 394 /** Update host-screen data. */ … … 513 518 bool m_fIsHidingHostPointer : 1; 514 519 520 /** Holds whether HW virtualization extension is enabled. */ 521 bool m_fIsHWVirtExEnabled; 522 515 523 /* Friend classes: */ 516 524 friend class UIConsoleEventHandler;
Note:
See TracChangeset
for help on using the changeset viewer.