1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Fix set value for all wallpaper

This commit is contained in:
Elias Steurer 2021-12-05 17:24:00 +01:00
parent e4a3115077
commit 106c3097f5

View File

@ -341,7 +341,8 @@ bool ScreenPlayManager::setWallpaperValueAtMonitorIndex(const int index, const Q
bool ScreenPlayManager::setAllWallpaperValue(const QString& key, const QString& value) bool ScreenPlayManager::setAllWallpaperValue(const QString& key, const QString& value)
{ {
for (auto& wallpaper : m_screenPlayWallpapers) { for (auto& wallpaper : m_screenPlayWallpapers) {
return setWallpaperValue(wallpaper->appID(), key, value); if (!wallpaper->setWallpaperValue(key, value, true))
return false;
} }
return true; return true;
} }