VirtualBox

Changeset 99836 in vbox for trunk


Ignore:
Timestamp:
May 18, 2023 10:02:12 AM (17 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10450: No need to enable HiDPI support since Qt6, it's always enabled.

File:
1 edited

Legend:

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

    r99623 r99836  
    464464
    465465        /* Enable HiDPI support: */
     466#ifndef VBOX_IS_QT6_OR_LATER
    466467        QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
    467 #if (!defined(DEBUG_bird) || defined(RT_OS_DARWIN))
    468 # ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1
     468# if (!defined(DEBUG_bird) || defined(RT_OS_DARWIN))
     469#  ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1
    469470        /* This shouldn't be enabled for customer WM, since Qt has conflicts in that case. */
    470471        QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
     472#  endif
    471473# endif
    472474#endif
Note: See TracChangeset for help on using the changeset viewer.

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