mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix closing of other types of wallpaper
This commit is contained in:
parent
74e05ff5b4
commit
9727ced1c9
@ -31,8 +31,14 @@ void SDKConnector::closeAllConnections()
|
||||
|
||||
void SDKConnector::closeAllWallpapers()
|
||||
{
|
||||
QStringList types{
|
||||
"videoWallpaper",
|
||||
"qmlWallpaper",
|
||||
"htmlWallpaper",
|
||||
"godotWallpaper"
|
||||
};
|
||||
for (auto& client : m_clients) {
|
||||
if(client->type() == "videoWallpaper"){
|
||||
if (types.contains(client->type())) {
|
||||
client->close();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user