VirtualBox

Ignore:
Timestamp:
Mar 17, 2016 6:45:37 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106079
Message:

FE/Qt: Qt5 migration (part 108): Very good hidden Animation framework regression in Qt5: Final animation values and effective state values need to be synced else animation will not run.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.cpp

    r59714 r60084  
    7272        /* Create 'default' state: */
    7373        QState *pStateDefault = new QState(m_pHighlightMachine);
     74        pStateDefault->assignProperty(this, "animationDarkness", m_iDefaultDarkness);
    7475        /* Create 'highlighted' state: */
    7576        QState *pStateHighlighted = new QState(m_pHighlightMachine);
     77        pStateHighlighted->assignProperty(this, "animationDarkness", m_iHighlightDarkness);
    7678
    7779        /* Forward animation: */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.cpp

    r55879 r60084  
    412412    /* Create 'default' state: */
    413413    QState *pStateDefault = new QState(m_pHighlightMachine);
     414    pStateDefault->assignProperty(this, "animationDarkness", m_iDefaultDarkness);
    414415    /* Create 'highlighted' state: */
    415416    QState *pStateHighlighted = new QState(m_pHighlightMachine);
     417    pStateHighlighted->assignProperty(this, "animationDarkness", m_iHighlightDarkness);
    416418
    417419    /* Forward animation: */
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