VirtualBox

Changeset 97217 in vbox


Ignore:
Timestamp:
Oct 18, 2022 6:58:17 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154193
Message:

FE/Qt: bugref:9458: Keep Global properties consistency regarding load/save functionality; That is required to properly detect whether properties were really changed.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

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

    r96407 r97217  
    349349{
    350350    return    true
    351            && (m_strData == another.data())
     351           && (m_fCheckEnabled == another.isCheckEnabled())
    352352           && (m_enmUpdatePeriod == another.updatePeriod())
    353            && (m_date == another.date())
    354353           && (m_enmUpdateChannel == another.updateChannel())
    355            && (m_version == another.version())
    356354              ;
    357355}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp

    r96407 r97217  
    5353{
    5454    return true
    55            && (m_enmPolicy == other.m_enmPolicy)
    56            && (m_size == other.m_size)
     55           && (   (   m_enmPolicy != MaximumGuestScreenSizePolicy_Fixed
     56                   && m_enmPolicy == other.m_enmPolicy)
     57               || (   m_enmPolicy == MaximumGuestScreenSizePolicy_Fixed
     58                   && m_enmPolicy == other.m_enmPolicy
     59                   && m_size == other.m_size))
    5760           ;
    5861}
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