summaryrefslogtreecommitdiff
path: root/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-01 13:16:52 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-01 13:16:52 +0000
commita4ddcdd29adcc0e4af2f55b0b28f50704e677c6a (patch)
tree2aa7520316656d26d719ec3973b5c1025530a405 /src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
parent2065c5012fe9c69388c4efe318b5efcbc98e01f1 (diff)
downloadVirtualBox-svn-a4ddcdd29adcc0e4af2f55b0b28f50704e677c6a.tar.gz
Merging r155287 and r155288 from gui4 branch: FE/Qt: Runtime UI: Moving host-screen & guest-screen handling stuff from UISession to UIMachine; Dangerous a bit.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98386 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp')
-rw-r--r--src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp b/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
index 2acb842b6eb..d604c193481 100644
--- a/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
+++ b/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp
@@ -172,7 +172,7 @@ void UIMachineViewNormal::resendSizeHint()
* the guest (aNotify == false), because there is technically no change (same
* hardware as before shutdown), and notifying would interfere with the Windows
* guest driver which saves the video mode to the registry on shutdown. */
- uisession()->setScreenVisibleHostDesires(screenId(), guestScreenVisibilityStatus());
+ uimachine()->setScreenVisibleHostDesires(screenId(), guestScreenVisibilityStatus());
display().SetVideoModeHint(screenId(),
guestScreenVisibilityStatus(),
false, 0, 0, effectiveSizeHint.width(), effectiveSizeHint.height(), 0, false);