Changeset 78002 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 3, 2019 4:02:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r77936 r78002 1108 1108 bool UIFileManagerTable::eventFilter(QObject *pObject, QEvent *pEvent) /* override */ 1109 1109 { 1110 Q_UNUSED(pObject); 1110 /* Handle only events sent to m_pView: */ 1111 if (pObject != m_pView) 1112 return QIWithRetranslateUI<QWidget>::eventFilter(pObject, pEvent); 1113 1111 1114 if (pEvent->type() == QEvent::KeyPress) 1112 1115 { … … 1155 1158 return true; 1156 1159 } 1157 } /* if (pKeyEvent) */1158 } /* if (pEvent->type() == QEvent::KeyPress) */1160 } 1161 } 1159 1162 else if (pEvent->type() == QEvent::FocusOut) 1160 1163 { 1161 1164 disableSelectionSearch(); 1162 1165 } 1163 /* Dont hold up the @pEvent but rather send it to the target @pObject: */ 1164 return false; 1166 1167 /* Call to base-class: */ 1168 return QIWithRetranslateUI<QWidget>::eventFilter(pObject, pEvent); 1165 1169 } 1166 1170
Note:
See TracChangeset
for help on using the changeset viewer.