guard the pointer
This commit is contained in:
parent
47dfda75c0
commit
0b4272fa56
@ -541,7 +541,9 @@ void ContainmentInterface::loadWallpaper()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!containment()->wallpaper().isEmpty()) {
|
if (!containment()->wallpaper().isEmpty()) {
|
||||||
|
if (m_wallpaperInterface) {
|
||||||
delete m_wallpaperInterface;
|
delete m_wallpaperInterface;
|
||||||
|
}
|
||||||
|
|
||||||
m_wallpaperInterface = new WallpaperInterface(this);
|
m_wallpaperInterface = new WallpaperInterface(this);
|
||||||
m_wallpaperInterface->setZ(-1000);
|
m_wallpaperInterface->setZ(-1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user