mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-15 06:52:34 +02:00
Fix cleanup of closed wp
This commit is contained in:
parent
30b965fc88
commit
a5af50b31c
@ -13,6 +13,9 @@ Item {
|
||||
|
||||
onStateChanged: {
|
||||
bgMouseArea.focus = monitors.state == "active" ? true : false
|
||||
if(monitors.state === "active"){
|
||||
screenPlay.requestProjectSettingsListModelAt(at)
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
@ -55,6 +55,7 @@ void ScreenPlay::removeAllWallpaper()
|
||||
{
|
||||
m_sdkc->closeAllWallpapers();
|
||||
m_settings->setActiveWallpaperCounter(0);
|
||||
m_screenPlayWallpaperList.clear();
|
||||
emit allWallpaperRemoved();
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,8 @@ void SDKConnector::closeAllWallpapers()
|
||||
{
|
||||
for (int i = 0; i < m_clients.size(); ++i) {
|
||||
m_clients.at(i)->close();
|
||||
m_clients.clear();
|
||||
m_clients.squeeze();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user