VirtualBox

Changeset 50823 in vbox


Ignore:
Timestamp:
Mar 19, 2014 12:55:30 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Revert r92847 because it's not good enough.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h

    r50807 r50823  
    7474
    7575protected slots:
    76 
    77     /** Sets the top-level widget containing this widget to be the active window. */
    78     void sltActivateWindow() { activateWindow(); }
    7976
    8077    /* Session event-handlers: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r50807 r50823  
    2222#include <QMouseEvent>
    2323#include <QTouchEvent>
    24 #include <QTimer>
    2524
    2625/* GUI includes: */
     
    598597                        QApplication::activeWindow() != pWatchedWidget->window())
    599598                    {
    600                         /* Activating hovered machine-window in 300msec: */
    601                         QTimer::singleShot(300, pWatchedWidget->window(), SLOT(sltActivateWindow()));
     599                        /* Activating hovered machine window: */
     600                        pWatchedWidget->window()->activateWindow();
    602601#ifdef Q_WS_X11
    603602                        /* On X11 its not enough to just activate window if you
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette