crash--
This commit is contained in:
parent
50d2347d2f
commit
b2d1493e74
@ -33,7 +33,8 @@
|
|||||||
#include "declarative/qmlobject.h"
|
#include "declarative/qmlobject.h"
|
||||||
|
|
||||||
ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent)
|
ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent)
|
||||||
: AppletInterface(parent)
|
: AppletInterface(parent),
|
||||||
|
m_wallpaperQmlObject(0)
|
||||||
{
|
{
|
||||||
qmlRegisterType<ContainmentInterface>();
|
qmlRegisterType<ContainmentInterface>();
|
||||||
|
|
||||||
@ -184,9 +185,11 @@ void ContainmentInterface::loadWallpaper()
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
if (m_wallpaperQmlObject) {
|
||||||
m_wallpaperQmlObject->deleteLater();
|
m_wallpaperQmlObject->deleteLater();
|
||||||
m_wallpaperQmlObject = 0;
|
m_wallpaperQmlObject = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ContainmentInterface::activityId() const
|
QString ContainmentInterface::activityId() const
|
||||||
|
Loading…
Reference in New Issue
Block a user