1
0
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:
Michail Vourlakos 2019-02-20 18:35:33 +02:00
parent c69d2db45b
commit cd825d9463

View File

@ -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;
}