Changeset 51252 in vbox
- Timestamp:
- May 14, 2014 12:51:25 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93705
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r51055 r51252 770 770 { 771 771 /* We should check for entering/exiting requested modes: */ 772 connect(uisession(), SIGNAL(sig MachineStarted()), this, SLOT(sltCheckForRequestedVisualStateType()));772 connect(uisession(), SIGNAL(sigStarted()), this, SLOT(sltCheckForRequestedVisualStateType())); 773 773 connect(uisession(), SIGNAL(sigAdditionsStateChange()), this, SLOT(sltCheckForRequestedVisualStateType())); 774 774 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r51209 r51252 149 149 , m_fSnapshotOperationsAllowed(true) 150 150 /* Common flags: */ 151 , m_fIsStarted(false) 151 152 , m_fIsFirstTimeStarted(false) 152 153 , m_fIsIgnoreRuntimeMediumsChanging(false) … … 371 372 372 373 /* Warn listeners about machine was started: */ 373 emit sig MachineStarted();374 emit sigStarted(); 374 375 } 375 376 … … 1015 1016 void UISession::prepareConnections() 1016 1017 { 1018 connect(this, SIGNAL(sigStarted()), this, SLOT(sltMarkStarted())); 1017 1019 connect(this, SIGNAL(sigCloseRuntimeUI()), this, SLOT(sltCloseRuntimeUI())); 1018 1020 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r51187 r51252 181 181 bool wasPaused() const { return machineStatePrevious() == KMachineState_Paused || 182 182 machineStatePrevious() == KMachineState_TeleportingPausedVM; } 183 bool isStarted() const { return m_fIsStarted; } 183 184 bool isFirstTimeStarted() const { return m_fIsFirstTimeStarted; } 184 185 bool isIgnoreRuntimeMediumsChanging() const { return m_fIsIgnoreRuntimeMediumsChanging; } … … 269 270 270 271 /* Session signals: */ 271 void sig MachineStarted();272 void sigStarted(); 272 273 273 274 public slots: … … 276 277 277 278 private slots: 279 280 /** Marks machine started. */ 281 void sltMarkStarted() { m_fIsStarted = true; } 278 282 279 283 /* Handler: Close Runtime UI stuff: */ … … 432 436 433 437 /* Common flags: */ 438 bool m_fIsStarted : 1; 434 439 bool m_fIsFirstTimeStarted : 1; 435 440 bool m_fIsIgnoreRuntimeMediumsChanging : 1; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r51249 r51252 258 258 /* Ask session to change 'fullscreen' mode to 'normal': */ 259 259 uisession()->setRequestedVisualState(UIVisualStateType_Normal); 260 261 /* If session started already => push mode-change directly: */ 262 if (uisession()->isStarted()) 263 sltCheckForRequestedVisualStateType(); 260 264 } 261 265 }
Note:
See TracChangeset
for help on using the changeset viewer.