VirtualBox

Changeset 97856 in vbox


Ignore:
Timestamp:
Dec 23, 2022 11:23:48 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154943
Message:

FE/Qt: bugref:9898: Migrating UIMachineView bits to Qt6.

File:
1 edited

Legend:

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

    r97849 r97856  
    814814        updateMousePointerPixmapScaling(pixmapShape, uXHot, uYHot);
    815815        /// @todo updateMousePointerPixmapScaling(pixmapMask, uXHot, uYHot);
    816 #ifdef VBOX_IS_QT6_OR_LATER /** @todo qt6: this is probably inefficient */
    817         m_cursor = QCursor(QBitmap(pixmapShape), QBitmap(pixmapMask), uXHot, uYHot);
     816#ifdef VBOX_IS_QT6_OR_LATER /* since qt6 explicit constructor is replaced with QBitmap::fromPixmap static method */
     817        m_cursor = QCursor(QBitmap::fromPixmap(pixmapShape), QBitmap::fromPixmap(pixmapMask), uXHot, uYHot);
    818818#else
    819819        m_cursor = QCursor(pixmapShape, pixmapMask, uXHot, uYHot);
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