mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-20 18:50:15 +03:00
fix restoring wallpaper tracking after slideshow
This commit is contained in:
parent
c69d2db45b
commit
cd825d9463
@ -146,10 +146,6 @@ void BackgroundCache::reload()
|
||||
background = returnedBackground.mid(7);
|
||||
}
|
||||
|
||||
if (background.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
QString screenName = m_pool->connector(lastScreen);
|
||||
|
||||
//! Take case of broadcasted backgrounds, when their plugin is changed they should be disabled
|
||||
@ -162,7 +158,7 @@ void BackgroundCache::reload()
|
||||
|
||||
m_plugins[activity][screenName] = wallpaperPlugin;
|
||||
|
||||
if (backgroundIsBroadcasted(activity, screenName)) {
|
||||
if (background.isEmpty() || backgroundIsBroadcasted(activity, screenName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user