Changeset 4128 in vbox
- Timestamp:
- Aug 13, 2007 11:40:37 AM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h
r4098 r4128 302 302 QColor erase_color; 303 303 304 bool mIsOpenViewFinished : 1; 304 305 bool mIsFirstTimeStarted : 1; 305 306 bool mIsAutoSaveMedia : 1; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4099 r4128 219 219 , was_max (false) 220 220 , console_style (0) 221 , mIsOpenViewFinished (false) 221 222 , mIsFirstTimeStarted (false) 222 223 , mIsAutoSaveMedia (true) … … 993 994 #endif 994 995 996 /* If seamless mode should be enabled then check if it is enabled 997 * currently and re-enable it if seamless is supported */ 998 if (vmSeamlessAction->isOn() && mIsSeamlessSupported) 999 vmSeamless (true); 1000 mIsOpenViewFinished = true; 995 1001 LogFlowFuncLeave(); 996 1002 } … … 2853 2859 void VBoxConsoleWnd::updateAdditionsState (const QString &aVersion, 2854 2860 bool aActive, 2855 bool aSeamless )2861 bool aSeamlessSupported) 2856 2862 { 2857 2863 vmAutoresizeGuestAction->setEnabled (aActive); 2858 vmSeamlessAction->setEnabled (aSeamless); 2859 mIsSeamlessSupported = aSeamless; 2860 if (aSeamless && vmSeamlessAction->isOn()) 2861 vmSeamless (true); 2864 vmSeamlessAction->setEnabled (aSeamlessSupported); 2865 mIsSeamlessSupported = aSeamlessSupported; 2866 /* If seamless mode should be enabled then check if it is enabled 2867 * currently and re-enable it if open-view procedure is finished */ 2868 if (vmSeamlessAction->isOn() && mIsOpenViewFinished) 2869 aSeamlessSupported ? vmSeamless (true) : vmSeamless (false); 2862 2870 2863 2871 /* Check the GA version only in case of additions are active */
Note:
See TracChangeset
for help on using the changeset viewer.