Wait for m_ready until doing anything. This keeps the slideshow from first showing the default wallpaper, then a random slideshow image, and then fade to the next slideshow image.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R120:140a1bc2b768: [Slideshow] Don't repeatedly restart on startup
- Switching slideshow wallpapers is still animated
- clicking "Next wallpaper" in context menu still works
- Copying a file to the picture folder will add it to the slideshow just fine
Removed the setSingleImage() call in the constructor which would never do anything as it's guarded by m_ready
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Lint Skipped - Unit
Unit Tests Skipped
wallpapers/image/image.cpp | ||
---|---|---|
147–149 | probably don't need that timer now, it looks like an attempt at what you're doing with the parser status. |