Changeset 50807 in vbox
- Timestamp:
- Mar 18, 2014 9:35:35 AM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r50631 r50807 74 74 75 75 protected slots: 76 77 /** Sets the top-level widget containing this widget to be the active window. */ 78 void sltActivateWindow() { activateWindow(); } 76 79 77 80 /* Session event-handlers: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r50786 r50807 22 22 #include <QMouseEvent> 23 23 #include <QTouchEvent> 24 #include <QTimer> 24 25 25 26 /* GUI includes: */ … … 597 598 QApplication::activeWindow() != pWatchedWidget->window()) 598 599 { 599 /* Activating hovered machine window: */600 pWatchedWidget->window()->activateWindow();600 /* Activating hovered machine-window in 300msec: */ 601 QTimer::singleShot(300, pWatchedWidget->window(), SLOT(sltActivateWindow())); 601 602 #ifdef Q_WS_X11 602 603 /* On X11 its not enough to just activate window if you
Note:
See TracChangeset
for help on using the changeset viewer.