Changeset 77936 in vbox
- Timestamp:
- Mar 28, 2019 1:08:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r77935 r77936 73 73 virtual void mouseMoveEvent(QMouseEvent *pEvent) /* override */; 74 74 virtual void mousePressEvent(QMouseEvent *pEvent) /* override */; 75 virtual void focusOutEvent(QFocusEvent *pEvent) /* override */;75 virtual bool event(QEvent *pEvent) /* override */; 76 76 77 77 private: … … 218 218 } 219 219 220 void UIFileManagerBreadCrumbs::focusOutEvent(QFocusEvent *pEvent) 221 { 222 deselect(); 223 QLineEdit::focusOutEvent(pEvent); 224 } 225 226 227 /********************************************************************************************************************************* 228 * UIFileManagerPathButton implementation. * 229 *********************************************************************************************************************************/ 230 231 // UIFileManagerPathButton::UIFileManagerPathButton(QWidget *pParent /* = 0 */, const QString &strPath /* = QString() */) 232 // :QIToolButton(pParent) 233 // , m_strPath(strPath) 234 // { 235 // setText(m_strPath); 236 // } 220 bool UIFileManagerBreadCrumbs::event(QEvent *pEvent) 221 { 222 if (!pEvent) 223 return false; 224 if (pEvent->type() == QEvent::Leave) 225 deselect(); 226 return QLineEdit::event(pEvent); 227 } 237 228 238 229 … … 1389 1380 if (!m_pNavigationWidgetWidget) 1390 1381 return; 1391 if ( fShow)1382 if (!fShow) 1392 1383 m_pNavigationWidgetWidget->setCurrentIndex(0); 1393 1384 else
Note:
See TracChangeset
for help on using the changeset viewer.