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:
parent
e4a3115077
commit
106c3097f5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user