VirtualBox

Changeset 7482 in vbox


Ignore:
Timestamp:
Mar 18, 2008 9:07:14 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28933
Message:

Frontends/VirtualBox: rely on Qt to get the desktop size right for screen size recommendations, even if Qt3 doesn´t always

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFrameBuffer.cpp

    r7463 r7482  
    199199    QRect screen = mView->getDesktopGeometry();
    200200    /* Leave 200 pixels leeway. */
    201     if (aWidth > (ULONG) screen.width() - 200)
     201    if (aWidth > (ULONG) screen.width())
    202202        *aSupported = FALSE;
    203     if (aHeight > (ULONG) screen.height() - 200)
     203    if (aHeight > (ULONG) screen.height())
    204204        *aSupported = FALSE;
    205205    if (aBPP != 32)
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