VirtualBox

Ignore:
Timestamp:
Jul 5, 2018 4:05:30 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9205 Check current keyboard modifiers differently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHotKeyEditor.cpp

    r71921 r72923  
    408408}
    409409
    410 void UIHotKeyEditor::handleKeyRelease(QKeyEvent* /*pKeyEvent*/)
     410void UIHotKeyEditor::handleKeyRelease(QKeyEvent *pKeyEvent)
    411411{
    412412    /* If full sequence was taken already and no modifiers are currently held: */
    413     if (m_fSequenceTaken && (QApplication::keyboardModifiers() == Qt::NoModifier))
     413    if (m_fSequenceTaken && (pKeyEvent->modifiers() == Qt::NoModifier))
    414414    {
    415415        /* Reset taken sequence: */
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