ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08371
Re: How to reset QML WebView?
On Mon, Jun 2, 2014 at 11:51 PM, Николай Шатохин <n.shatokhin@xxxxxxxxx>
wrote:
> No, it doesn't help too :(
>
> And clearing cookies manually
>
> _socialWindow->engine()->networkAccessManager()->cookieJar()->setCookieJar(new QNetworkCookieJar());
>
> or cache
>
> _socialWindow->engine()->clearComponentCache();
>
> not solve the problem.
>
> It looks like that QML file saves it state and lives between different
> instances of QQuickView. How to reset it to initial state after creating
> new QQuickView?
>
Can you share the relevant code so someone can try it out to help
understand the issue?
References