Index: /trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainDialog.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainDialog.cpp	(revision 46835)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMainDialog.cpp	(revision 46836)
@@ -168,9 +168,5 @@
                   }
               }
-#if QT_VERSION < 0x040400
-              else if (currentModifiers == Qt::ShiftModifier)
-#else
               else if (currentModifiers == Qt::ControlModifier)
-#endif
               {
                   if (!mFileForProxyIcon.isEmpty())
@@ -249,12 +245,4 @@
 void QIMainDialog::keyPressEvent(QKeyEvent *pEvent)
 {
-#if defined (Q_WS_MAC) && (QT_VERSION < 0x040402)
-    /* Bug in Qt below 4.4.2.
-     * The key events are send to the current window even if a menu is shown & has the focus.
-     * See http://trolltech.com/developer/task-tracker/index_html?method=entry&id=214681. */
-    if (::darwinIsMenuOpen())
-        return;
-#endif /* defined (Q_WS_MAC) && (QT_VERSION < 0x040402) */
-
     /* Make sure that we only proceed if no
      * popup or other modal widgets are open. */
Index: /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp	(revision 46835)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp	(revision 46836)
@@ -1055,15 +1055,4 @@
             break;
         }
-# if (QT_VERSION < 0x040402)
-        case QEvent::KeyPress:
-        {
-            /* Bug in Qt below 4.4.2. The key events are send to the current
-             * window even if a menu is shown & has the focus. See
-             * http://trolltech.com/developer/task-tracker/index_html?method=entry&id=214681. */
-            if (::darwinIsMenuOpen())
-                return true;
-            break;
-        }
-# endif
         default:
             break;
