Changeset 8477
- Timestamp:
- 04/29/08 18:47:05 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r8456 r8477 2235 2235 void VBoxConsoleWnd::setViewInSeamlessMode (const QRect &aTargetRect) 2236 2236 { 2237 LogFlowThisFunc(("mIsSeamless=%s\n", mIsSeamless ? "true" : "false")); 2237 2238 if (mIsSeamless) 2238 2239 { … … 2261 2262 QSizePolicy::Preferred, QSizePolicy::Fixed); 2262 2263 } 2264 LogFlowFuncLeave(); 2263 2265 } 2264 2266 … … 2660 2662 void VBoxConsoleWnd::setMask (const QRegion &aRegion) 2661 2663 { 2664 LogFlowFuncEnter(); 2662 2665 QRegion region = aRegion; 2663 2666 /* The global mask shift cause of toolbars and such things. */ … … 2731 2734 QMainWindow::setMask (region); 2732 2735 #endif 2736 LogFlowFuncLeave(); 2733 2737 } 2734 2738 … … 3250 3254 } 3251 3255 } 3256 /* Disable auto-resizing if advanced graphics are not available */ 3257 console->setAutoresizeGuest ( mIsGraphicsSupported 3258 && vmAutoresizeGuestAction->isOn()); 3259 vmAutoresizeGuestAction->setEnabled (mIsGraphicsSupported); 3252 3260 } 3253 3261 trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r8456 r8477 3295 3295 } 3296 3296 } 3297 /* Disable auto-resizing if advanced graphics are not available */ 3298 console->setAutoresizeGuest ( mIsGraphicsSupported 3299 && vmAutoresizeGuestAction->isChecked()); 3300 vmAutoresizeGuestAction->setEnabled (mIsGraphicsSupported); 3297 3301 } 3298 3302

