Fixes assert in QDeclarativeWebView
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Wed, 6 Oct 2010 09:48:24 +0000 (11:48 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Fri, 8 Oct 2010 04:54:30 +0000 (14:54 +1000)
commite1568b04816465df45b7f974a1031791943bf4f0
treeee093d85a8a4a8a9918a7b933c25d96704eaf43d
parent000540cfd13bfdb7743fc5c9e931989ba982dbc0
Fixes assert in QDeclarativeWebView

If QDeclarativeWebView was instantiated twice
an assert was triggered by QWebSettings::enablePersistentStorage();

This patch is crtical for tooling (Bauhaus)

Task-number: QTBUG-14278
Reviewed-by: Aaron Kennedy
(cherry picked from commit f532679ca11914b453e22342f2ae5e9f790ce47a)
src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp