1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-19 00:42:33 +02:00

Add warning message for a potential bug where the wallpaper counter never resets

This commit is contained in:
Elias Steurer 2020-03-19 12:49:52 +01:00
parent 5d0fcd8b63
commit 422c4ef189

View File

@ -175,6 +175,8 @@ void ScreenPlayManager::removeAllWallpapers()
Util::writeJsonObjectToFile(absoluteProfilesFilePath, newConfig);
setActiveWallpaperCounter(0);
} else {
qWarning() << "Trying to remove all wallpapers while m_screenPlayWallpapers is not empty. Count: "<< m_screenPlayWallpapers.size();
}
}