VirtualBox

Ignore:
Timestamp:
Apr 27, 2010 4:00:16 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: new core: fix typo on seamless and fullscreen extra data reading/writing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp

    r28800 r28841  
    424424            /* Test 'seamless' flag: */
    425425            QString strSeamlessSettings = machine.GetExtraData(VBoxDefs::GUI_Seamless);
    426             if (strSeamlessSettings == "yes")
     426            printf ("%s\n", qPrintable(strSeamlessSettings));
     427            if (strSeamlessSettings == "on")
    427428            {
    428429                fIsSomeExtendedModeChosen = true;
     
    437438            /* Test 'fullscreen' flag: */
    438439            QString strFullscreenSettings = machine.GetExtraData(VBoxDefs::GUI_Fullscreen);
    439             if (strFullscreenSettings == "yes")
     440            if (strFullscreenSettings == "on")
    440441            {
    441442                fIsSomeExtendedModeChosen = true;
     
    456457        /* Set 'seamless' flag: */
    457458        machine.SetExtraData(VBoxDefs::GUI_Seamless, m_pVisualState &&
    458                              m_pVisualState->visualStateType() == UIVisualStateType_Seamless ? "yes" : QString());
     459                             m_pVisualState->visualStateType() == UIVisualStateType_Seamless ? "on" : QString());
    459460
    460461        /* Set 'fullscreen' flag: */
    461462        machine.SetExtraData(VBoxDefs::GUI_Fullscreen, m_pVisualState &&
    462                              m_pVisualState->visualStateType() == UIVisualStateType_Fullscreen ? "yes" : QString());
     463                             m_pVisualState->visualStateType() == UIVisualStateType_Fullscreen ? "on" : QString());
    463464    }
    464465}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette