VirtualBox

Changeset 75973 in vbox


Ignore:
Timestamp:
Dec 5, 2018 2:27:36 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6699. Small corrections

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileManager.h

    r75903 r75973  
    163163        - when there are no more panels visible assign it to the parent dialog
    164164        - grab it from the dialog as soon as a panel becomes visible again
    165         - assigned it to the most recently "unhidden" panel */
     165        - assign it to the most recently "unhidden" panel */
    166166    void manageEscapeShortCut();
    167167    void copyToGuest();
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileTable.cpp

    r75928 r75973  
    13181318                return true;
    13191319            }
    1320             else if (pKeyEvent->text().length() == 1 && pKeyEvent->text().at(0).unicode() <= 127)
     1320            else if (pKeyEvent->text().length() == 1 &&
     1321                     (pKeyEvent->text().at(0).isDigit() ||
     1322                      pKeyEvent->text().at(0).isLetter()))
    13211323            {
    13221324                if (m_pSearchLineEdit)
     
    13281330                }
    13291331            }
    1330         }
    1331     }
    1332 
     1332            else if (pKeyEvent->key() == Qt::Key_Tab)
     1333            {
     1334                return true;
     1335            }
     1336        }/* if (pKeyEvent) */
     1337    }/* if (pEvent->type() == QEvent::KeyPress) */
     1338    else if (pEvent->type() == QEvent::FocusOut)
     1339    {
     1340        disableSelectionSearch();
     1341    }
     1342    /* Dont hold up the @pEvent but rather send it to the target @pObject: */
    13331343    return false;
    13341344}
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlFileTable.h

    r75932 r75973  
    285285
    286286protected:
     287
    287288    /** This enum is used when performing a gueest-to-guest or host-to-host
    288289     *  file operations. Paths of source file objects are kept in a single buffer
     
    317318    virtual void     createFileViewContextMenu(const QWidget *pWidget, const QPoint &point) = 0;
    318319    virtual bool     event(QEvent *pEvent) /* override */;
     320
    319321    /** @name Copy/Cut guest-to-guest (host-to-host) stuff.
    320322     * @{ */
     
    397399    QILineEdit      *m_pSearchLineEdit;
    398400    QILabel         *m_pWarningLabel;
     401
    399402    friend class     UIGuestControlFileModel;
    400403};
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