Changeset 57016 in vbox for trunk/src/VBox
- Timestamp:
- Jul 20, 2015 10:22:54 AM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r56870 r57016 98 98 virtual void sltMachineStateChanged(); 99 99 100 /** Shows window minimized. */101 virtual void showMinimized() { QMainWindow::showMinimized(); }102 103 100 protected: 104 101 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r56934 r57016 177 177 { 178 178 /* Make sure window is visible: */ 179 if (!isVisible() )179 if (!isVisible() || isMinimized()) 180 180 return; 181 181 … … 187 187 activateWindow(); 188 188 #endif /* Q_WS_MAC || Q_WS_X11 */ 189 }190 191 void UIMachineWindowFullscreen::showMinimized()192 {193 #ifdef Q_WS_X11194 /* If there is mini-toolbar: */195 if (m_pMiniToolBar)196 {197 /* Minimize it first: */198 m_pMiniToolBar->showMinimized();199 }200 #endif /* Q_WS_X11 */201 202 /* Call to base-class: */203 UIMachineWindow::showMinimized();204 189 } 205 190 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.h
r56870 r57016 75 75 void sltRevokeFocus(); 76 76 77 /** Shows window minimized. */78 void showMinimized();79 80 77 private: 81 78 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp
r56934 r57016 68 68 { 69 69 /* Make sure window is visible: */ 70 if (!isVisible() )70 if (!isVisible() || isMinimized()) 71 71 return; 72 72 … … 78 78 activateWindow(); 79 79 #endif /* Q_WS_MAC || Q_WS_X11 */ 80 }81 82 void UIMachineWindowSeamless::showMinimized()83 {84 #ifdef Q_WS_X1185 /* If there is mini-toolbar: */86 if (m_pMiniToolBar)87 {88 /* Minimize it first: */89 m_pMiniToolBar->showMinimized();90 }91 #endif /* Q_WS_X11 */92 93 /* Call to base-class: */94 UIMachineWindow::showMinimized();95 80 } 96 81 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.h
r56870 r57016 46 46 /** Revokes keyboard-focus. */ 47 47 void sltRevokeFocus(); 48 49 /** Shows window minimized. */50 void showMinimized();51 48 52 49 private:
Note:
See TracChangeset
for help on using the changeset viewer.