VirtualBox

Ignore:
Timestamp:
Feb 13, 2018 10:49:18 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120837
Message:

FE/Qt Don't use == if you want to set somethingsvn status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIGuestControlInterface.cpp

    r70988 r70990  
    4343    , m_comGuest(comGuest)
    4444    , m_strHelp("start\n"
    45                 "        --session: Starts a new session\n"
    46                 "                     --username=username: Sets the username for start session. Overwrites the username set by 'set --username=username'\n"
    47                 "                     --password=password: Sets the password for start session. Overwrites the username set by 'set --password=password'\n"
    48                 "                     --session-name=name: Optional\n"
    49                 "                     --domain=domain: Currently not implemented and siliently ignored\n"
    50 
    51                 "set --username=username\n"
    52                 "set --password=password"
     45                "        --session: Starts a new session. It takes following arguments\n"
     46                "                        --username=username: Sets the username. Overrides the username set by 'set --username=username'\n"
     47                "                        --password=password: Sets the password. Overrides the username set by 'set --password=password'\n"
     48                "                        --session-name=name: Optional\n"
     49                "                        --domain=domain: Currently not implemented and siliently ignored\n"
     50                "        --process: Starts a new process. It takes following arguments\n"
     51                "                        --username=username: Sets the username. Overrides the username set by 'set --username=username'\n"
     52                "                        --password=password: Sets the password. Overrides the username set by 'set --password=password'\n"
     53                "                        --session-name=name: Session name to start the new process under. If not found a new session with this name is created\n"
     54                "                        --exe-path=path: Execuable path\n"
     55                "                        --argument1=argument ... --argumentN=argument: Optional. Arguments to be passed to the new process\n"
     56                "                        --environmentVar1=variable ... --environmentVarN=variable: Optional. Currently no avaible through this interface\n"
     57                "                        --timout=time: (in ms). Optional. Timeout (in ms) for limiting the guest process' running time. Give 0 for an infinite timeout.\n"
     58
     59                "set\n"
     60                "                        --username=username: Sets user name which is used in subsequent calls (maybe overriden).\n"
     61                "                        --password=password: Sets user name which is used in subsequent calls (maybe overriden).\n"
    5362
    5463                //"start --process --username=username --password=password --session-name=name --exepath=path --argument1=argument ... --argumentN=argument --environmentVar1=variable ... --environmentVarN=variable\n"
     
    186195    if (m_bUsernameIsSet)
    187196    {
    188         outStrUsername == m_strUsername;
     197        outStrUsername = m_strUsername;
    189198        return true;
    190199    }
     
    205214    if (m_bPasswordIsSet)
    206215    {
    207         outStrPassword == m_strPassword;
     216        outStrPassword = m_strPassword;
    208217        return true;
    209218    }
Note: See TracChangeset for help on using the changeset viewer.

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