VirtualBox

Changeset 27234 in vbox


Ignore:
Timestamp:
Mar 9, 2010 9:53:24 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New running VM core: cosmetics.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
3 edited

Legend:

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

    r27215 r27234  
    5959bool UIMachineLogicFullscreen::checkAvailability()
    6060{
    61     /* Temporary get a machine object */
     61    /* Temporary get a machine object: */
    6262    const CMachine &machine = uisession()->session().GetMachine();
    6363    const CConsole &console = uisession()->session().GetConsole();
     
    7070
    7171    int cGuestScreens = machine.GetMonitorCount();
    72     /* Check that there are enough physical screens are connected */
     72    /* Check that there are enough physical screens are connected: */
    7373    if (cHostScreens < cGuestScreens)
    7474    {
     
    113113     * VBoxGlobal::extractKeyFromActionText gets exactly the
    114114     * linked key without the 'Host+' part we are adding it here. */
    115     QString hotKey = QString ("Host+%1")
    116         .arg (VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Fullscreen)->text()));
    117     Assert (!hotKey.isEmpty());
     115    QString hotKey = QString("Host+%1")
     116        .arg(VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Fullscreen)->text()));
     117    Assert(!hotKey.isEmpty());
    118118
    119119    /* Show the info message. */
     
    148148        prepareDock();
    149149#endif /* Q_WS_MAC */
    150 
    151150
    152151        /* Initialization: */
     
    155154        sltMouseCapabilityChanged();
    156155
     156        /* Retranslate logic part: */
    157157        retranslateUi();
    158158    }
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.cpp

    r27215 r27234  
    7979        sltMouseCapabilityChanged();
    8080
     81        /* Retranslate logic part: */
    8182        retranslateUi();
    8283    }
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.cpp

    r27215 r27234  
    5353bool UIMachineLogicSeamless::checkAvailability()
    5454{
    55     /* Temporary get a machine object */
     55    /* Temporary get a machine object: */
    5656    const CMachine &machine = uisession()->session().GetMachine();
    5757    const CConsole &console = uisession()->session().GetConsole();
     
    6464
    6565    int cGuestScreens = machine.GetMonitorCount();
    66     /* Check that there are enough physical screens are connected */
     66    /* Check that there are enough physical screens are connected: */
    6767    if (cHostScreens < cGuestScreens)
    6868    {
     
    106106     * VBoxGlobal::extractKeyFromActionText gets exactly the
    107107     * linked key without the 'Host+' part we are adding it here. */
    108     QString hotKey = QString ("Host+%1")
    109         .arg (VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Seamless)->text()));
    110     Assert (!hotKey.isEmpty());
     108    QString hotKey = QString("Host+%1")
     109        .arg(VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Seamless)->text()));
     110    Assert(!hotKey.isEmpty());
    111111
    112112    /* Show the info message. */
     
    147147        sltMouseCapabilityChanged();
    148148
     149        /* Retranslate logic part: */
    149150        retranslateUi();
    150151    }
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