VirtualBox

Changeset 11787 in vbox


Ignore:
Timestamp:
Aug 28, 2008 7:42:37 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35571
Message:

Fe/Qt4: Fix the text (wrong hot-key shown) for entering fullscreen/seamless modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r11774 r11787  
    11511151             * See http://trolltech.com/developer/task-tracker/index_html?id=206165&method=entry
    11521152             * for details. */
    1153 #if defined (Q_WS_X11) && (QT_VERSION >= 0x040309) && (QT_VERSION < 0x040401) 
     1153#if defined (Q_WS_X11) && (QT_VERSION >= 0x040309) && (QT_VERSION < 0x040401)
    11541154            qApp->setOverrideCursor(Qt::ArrowCursor);
    11551155#endif
     
    20462046    if (aOn)
    20472047    {
    2048         /* Take the toggle hot key from the menu item. */
    2049         QString hotKey = VBoxGlobal::extractKeyFromActionText (aSeamless ? vmSeamlessAction->text() :
    2050                                                                            vmFullscreenAction->text());
     2048        /* Take the toggle hot key from the menu item. Since
     2049         * VBoxGlobal::extractKeyFromActionText gets exactly the
     2050         * linked key without the 'Host+' part we are adding it here. */
     2051        QString hotKey = QString ("Host+%1")
     2052            .arg (VBoxGlobal::extractKeyFromActionText (aSeamless ?
     2053                  vmSeamlessAction->text() : vmFullscreenAction->text()));
    20512054
    20522055        Assert (!hotKey.isEmpty());
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