Skip to content
  • Ulf Hermann's avatar
    Theme: Use QVariantMap for theme properties · 08b78020
    Ulf Hermann authored
    
    
    QML can directly mirror this into a JavaScript object, so there is no
    need to manually copy the values into a different container. Also,
    QQmlPropertyMap is very expensive as it will listen to changes to any
    value in the map. We never use this. It would be entirely enough to
    update the whole map at once if we ever want to update the theme at
    runtime.
    
    Change-Id: Ie2b549e9af51d620801808c87d6f659cc7a06c04
    Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
    08b78020