don't assume we find a corona
BUG:359026 Change-Id: Idfb18a02f6e1ae35b0b1722c24a784345438003d
This commit is contained in:
parent
4ebf130ee6
commit
1b2c1caf39
@ -115,6 +115,10 @@ void ConfigViewPrivate::init()
|
|||||||
} else {
|
} else {
|
||||||
corona = applet.data()->containment()->corona();
|
corona = applet.data()->containment()->corona();
|
||||||
}
|
}
|
||||||
|
if (!corona) {
|
||||||
|
qWarning() << "Cannot find a Corona, this should never happen!";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (corona->package().isValid()) {
|
if (corona->package().isValid()) {
|
||||||
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), corona->package());
|
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), corona->package());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user