Changeset 46836 in vbox
- Timestamp:
- Jun 27, 2013 12:24:18 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
-
extensions/QIMainDialog.cpp (modified) (2 diffs)
-
selector/UISelectorWindow.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainDialog.cpp
r44572 r46836 168 168 } 169 169 } 170 #if QT_VERSION < 0x040400171 else if (currentModifiers == Qt::ShiftModifier)172 #else173 170 else if (currentModifiers == Qt::ControlModifier) 174 #endif175 171 { 176 172 if (!mFileForProxyIcon.isEmpty()) … … 249 245 void QIMainDialog::keyPressEvent(QKeyEvent *pEvent) 250 246 { 251 #if defined (Q_WS_MAC) && (QT_VERSION < 0x040402)252 /* Bug in Qt below 4.4.2.253 * The key events are send to the current window even if a menu is shown & has the focus.254 * See http://trolltech.com/developer/task-tracker/index_html?method=entry&id=214681. */255 if (::darwinIsMenuOpen())256 return;257 #endif /* defined (Q_WS_MAC) && (QT_VERSION < 0x040402) */258 259 247 /* Make sure that we only proceed if no 260 248 * popup or other modal widgets are open. */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r46782 r46836 1055 1055 break; 1056 1056 } 1057 # if (QT_VERSION < 0x040402)1058 case QEvent::KeyPress:1059 {1060 /* Bug in Qt below 4.4.2. The key events are send to the current1061 * window even if a menu is shown & has the focus. See1062 * http://trolltech.com/developer/task-tracker/index_html?method=entry&id=214681. */1063 if (::darwinIsMenuOpen())1064 return true;1065 break;1066 }1067 # endif1068 1057 default: 1069 1058 break;
Note:
See TracChangeset
for help on using the changeset viewer.

