This commit is contained in:
Marco Martin 2014-04-22 15:32:20 +02:00
parent 0b4272fa56
commit 1d5c6e5964

View File

@ -541,9 +541,7 @@ void ContainmentInterface::loadWallpaper()
}
if (!containment()->wallpaper().isEmpty()) {
if (m_wallpaperInterface) {
delete m_wallpaperInterface;
}
delete m_wallpaperInterface;
m_wallpaperInterface = new WallpaperInterface(this);
m_wallpaperInterface->setZ(-1000);