VirtualBox

Changeset 86053 in vbox


Ignore:
Timestamp:
Sep 7, 2020 5:58:16 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140266
Message:

FE/Qt: bugref:9760. Build fix

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

Legend:

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

    r86046 r86053  
    117117
    118118    /** Performs window geometry normalization according to guest-size and host's available geometry.
    119       * @param  fAdjustPosition  Determines whether is it necessary to adjust position as well. */
     119      * @param  fAdjustPosition  Determines whether is it necessary to adjust position as well.
     120      * @param fResizeToGuestDisplay determines if is it necessary to resize the window to fit to guest display size. */
    120121    virtual void normalizeGeometry(bool fAdjustPosition, bool fResizeToGuestDisplay) /* override */;
    121122
     
    145146
    146147#endif /* !FEQT_INCLUDED_SRC_runtime_normal_UIMachineWindowNormal_h */
    147 
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.cpp

    r84701 r86053  
    176176}
    177177
    178 void UIMachineWindowScale::normalizeGeometry(bool fAdjustPosition)
    179 {
     178void UIMachineWindowScale::normalizeGeometry(bool fAdjustPosition, bool fResizeToGuestDisplay)
     179{
     180    Q_UNUSED(fResizeToGuestDisplay);
    180181    /* Skip if maximized: */
    181182    if (isMaximized())
     
    256257#endif /* !VBOX_WS_MAC */
    257258}
    258 
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.h

    r82968 r86053  
    6161
    6262    /** Performs window geometry normalization according to guest-size and host's available geometry.
    63       * @param  fAdjustPosition  Determines whether is it necessary to adjust position as well. */
    64     virtual void normalizeGeometry(bool fAdjustPosition) /* override */;
     63      * @param  fAdjustPosition  Determines whether is it necessary to adjust position as well.
     64      * @param fResizeToGuestDisplay determines if is it necessary to resize the window to fit to guest display size. */
     65    virtual void normalizeGeometry(bool fAdjustPosition, bool fResizeToGuestDisplay) /* override */;
    6566
    6667    /** Common @a pEvent handler. */
     
    7879
    7980#endif /* !FEQT_INCLUDED_SRC_runtime_scale_UIMachineWindowScale_h */
    80 
Note: See TracChangeset for help on using the changeset viewer.

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