Changeset 28841 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 27, 2010 4:00:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp
r28800 r28841 424 424 /* Test 'seamless' flag: */ 425 425 QString strSeamlessSettings = machine.GetExtraData(VBoxDefs::GUI_Seamless); 426 if (strSeamlessSettings == "yes") 426 printf ("%s\n", qPrintable(strSeamlessSettings)); 427 if (strSeamlessSettings == "on") 427 428 { 428 429 fIsSomeExtendedModeChosen = true; … … 437 438 /* Test 'fullscreen' flag: */ 438 439 QString strFullscreenSettings = machine.GetExtraData(VBoxDefs::GUI_Fullscreen); 439 if (strFullscreenSettings == " yes")440 if (strFullscreenSettings == "on") 440 441 { 441 442 fIsSomeExtendedModeChosen = true; … … 456 457 /* Set 'seamless' flag: */ 457 458 machine.SetExtraData(VBoxDefs::GUI_Seamless, m_pVisualState && 458 m_pVisualState->visualStateType() == UIVisualStateType_Seamless ? " yes" : QString());459 m_pVisualState->visualStateType() == UIVisualStateType_Seamless ? "on" : QString()); 459 460 460 461 /* Set 'fullscreen' flag: */ 461 462 machine.SetExtraData(VBoxDefs::GUI_Fullscreen, m_pVisualState && 462 m_pVisualState->visualStateType() == UIVisualStateType_Fullscreen ? " yes" : QString());463 m_pVisualState->visualStateType() == UIVisualStateType_Fullscreen ? "on" : QString()); 463 464 } 464 465 }
Note:
See TracChangeset
for help on using the changeset viewer.