mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Fix always starting wallpaper
This commit is contained in:
parent
f228a81ff1
commit
5318a4b54e
@ -509,10 +509,11 @@ QCoro::Task<bool> ScreenPlayTimelineManager::setWallpaperAtTimelineIndex(
|
||||
co_await timelineSection->deactivateTimeline();
|
||||
timelineSection->activateTimeline();
|
||||
} else {
|
||||
// Append the new wallpaper data
|
||||
// IMPORTANT: Append the new wallpaper data,
|
||||
// but do not start it! The selected timelineSection
|
||||
// is not always be the currently running.
|
||||
// Besides for this we have m_contentTimer checkActiveWallpaperTimeline()
|
||||
timelineSection->wallpaperDataList.push_back(wallpaperData);
|
||||
// Start all wallpaper
|
||||
timelineSection->activateTimeline();
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user