VirtualBox

Changeset 27032 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 4, 2010 2:34:36 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58345
Message:

FE/Qt4: new core: one more message

File:
1 edited

Legend:

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

    r27028 r27032  
    100100    }
    101101
     102    /* Take the toggle hot key from the menu item. Since
     103     * VBoxGlobal::extractKeyFromActionText gets exactly the
     104     * linked key without the 'Host+' part we are adding it here. */
     105    QString hotKey = QString ("Host+%1")
     106        .arg (VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Seamless)->text()));
     107    Assert (!hotKey.isEmpty());
     108
     109    /* Show the info message. */
     110    if (!vboxProblem().confirmGoingSeamless(hotKey))
     111        return false;
     112
    102113    return true;
    103114}
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