VirtualBox

Ignore:
Timestamp:
Jun 24, 2010 2:16:55 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63033
Message:

FE/Qt: New running VM core: some code cosmetics.

File:
1 edited

Legend:

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

    r30348 r30407  
    231231UISession* UIMachineView::uisession() const
    232232{
    233     return machineWindowWrapper()->machineLogic()->uisession();
     233    return machineLogic()->uisession();
    234234}
    235235
     
    11051105                break;
    11061106            }
    1107 #if defined (Q_WS_WIN32)
     1107#ifdef Q_WS_WIN
    11081108            /* Install/uninstall low-level kbd hook on every activation/deactivation to:
    11091109             * a) avoid excess hook calls when we're not active and
     
    11271127                break;
    11281128            }
    1129 #endif /* defined (Q_WS_WIN32) */
     1129#endif /* Q_WS_WIN */
    11301130#ifdef Q_WS_MAC
    11311131            /* Install/remove the keyboard event handler: */
     
    11731173                viewport()->repaint();
    11741174            }
    1175             /* reuse the focus event handler to uncapture everything */
     1175            /* Reuse the focus event handler to uncapture everything: */
    11761176            if (hasFocus())
    1177                 focusEvent (false /* aHasFocus*/, false /* aReleaseHostKey */);
     1177                focusEvent(false /* aHasFocus*/, false /* aReleaseHostKey */);
    11781178            break;
    11791179        }
     
    12011201                }
    12021202            }
    1203             /* Reuse the focus event handler to capture input: */
     1203            /* Reuse the focus event handler to capture keyboard: */
    12041204            if (hasFocus())
    12051205                focusEvent(true /* aHasFocus */);
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