VirtualBox

Changeset 98519 in vbox


Ignore:
Timestamp:
Feb 9, 2023 1:42:16 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155787
Message:

FE/Qt: bugref:10322: Runtime UI: Tiny cleanup for UIFrameBuffer class to solve logical shadowing.

File:
1 edited

Legend:

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

    r98450 r98519  
    266266
    267267    /** Returns the copy of the IDisplay wrapper. */
    268     CDisplay display() const { return m_display; }
     268    CDisplay display() const { return m_comDisplay; }
    269269    /** Attach frame-buffer to IDisplay. */
    270270    void attach();
     
    487487
    488488    /** Holds the copy of the IDisplay wrapper. */
    489     CDisplay m_display;
     489    CDisplay m_comDisplay;
    490490    /** Source bitmap from IDisplay. */
    491491    CDisplaySourceBitmap m_sourceBitmap;
     
    11211121
    11221122    /* Assign display: */
    1123     m_display = m_pMachineView->uisession()->display();
     1123    m_comDisplay = m_pMachineView->uisession()->display();
    11241124
    11251125    /* Initialize critical-section: */
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