Changeset 39365 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 18, 2011 1:46:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r39326 r39365 267 267 if (iElement & UIVisualElement_PauseStuff) 268 268 { 269 if (uisession()->isPaused() && m_pIdleTimer->isActive()) 270 m_pIdleTimer->stop(); 271 else if (uisession()->isRunning() && !m_pIdleTimer->isActive()) 272 m_pIdleTimer->start(100); 273 sltUpdateIndicators(); 269 if (!statusBar()->isHidden()) 270 { 271 if (uisession()->isPaused() && m_pIdleTimer->isActive()) 272 m_pIdleTimer->stop(); 273 else if (uisession()->isRunning() && !m_pIdleTimer->isActive()) 274 m_pIdleTimer->start(100); 275 sltUpdateIndicators(); 276 } 274 277 } 275 278 if (iElement & UIVisualElement_HDStuff) … … 624 627 menuBar()->setHidden(settings.isFeatureActive("noMenuBar")); 625 628 statusBar()->setHidden(settings.isFeatureActive("noStatusBar")); 629 if (statusBar()->isHidden()) 630 m_pIdleTimer->stop(); 626 631 } 627 632 }
Note:
See TracChangeset
for help on using the changeset viewer.