Changeset 44323 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 21, 2013 2:54:49 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83257
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r43919 r44323 1022 1022 strFilter = filters.first(); 1023 1023 } 1024 1025 #ifdef Q_WS_WIN 1026 /* Due to Qt bug, modal QFileDialog appeared above the active machine-window 1027 * does not retreive the focus from the currently focused machine-view, 1028 * as the result guest keyboard remains captured, so we should 1029 * clear the focus from this machine-view initially: */ 1030 if (activeMachineWindow()) 1031 activeMachineWindow()->machineView()->clearFocus(); 1032 #endif /* Q_WS_WIN */ 1033 1024 1034 /* Request the filename from the user. */ 1025 1035 const CMachine &machine = session().GetMachine(); … … 1035 1045 true /* resolve symlinks */, 1036 1046 true /* confirm overwrite */); 1047 1048 #ifdef Q_WS_WIN 1049 /* Due to Qt bug, modal QFileDialog appeared above the active machine-window 1050 * does not retreive the focus from the currently focused machine-view, 1051 * as the result guest keyboard remains captured, so we already 1052 * cleared the focus from this machine-view and should return 1053 * that focus finally: */ 1054 if (activeMachineWindow()) 1055 activeMachineWindow()->machineView()->setFocus(); 1056 #endif /* Q_WS_WIN */ 1057 1037 1058 /* Do the screenshot. */ 1038 1059 if (!strFilename.isEmpty())
Note:
See TracChangeset
for help on using the changeset viewer.