Skip to content
Commit 0f91327c authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: lazy load image model and slide model

1. Make sure the image model and the slide model are only created
   when necessary, so the slide model will not consume resource when the
   image plugin is used, and vice versa.
2. When used in a config dialog, the model is created only after the
   component is completely created, which means all bindings are properly
   set. This avoids some unnecessary work.

CCBUG: 473798
parent 64e41336
Pipeline #475358 passed with stage
in 11 minutes and 14 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment