Changeset 51372 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 23, 2014 3:01:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/QIWithRetranslateUI.h
r44528 r51372 98 98 virtual bool eventFilter(QObject *pObject, QEvent *pEvent) 99 99 { 100 switch (pEvent->type()) 100 /* Handle events for qApp only: */ 101 if (pObject == qApp) 101 102 { 102 case QEvent::LanguageChange:103 switch (pEvent->type()) 103 104 { 104 retranslateUi();105 break;105 case QEvent::LanguageChange: retranslateUi(); break; 106 default: break; 106 107 } 107 default:108 break;109 108 } 109 /* Call to base-class: */ 110 110 return Base::eventFilter(pObject, pEvent); 111 111 }
Note:
See TracChangeset
for help on using the changeset viewer.