summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-26 01:54:04 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-26 04:15:47 (GMT)
commit93b02976b7c9c3a36cac475c1935622ebc2f1fe1 (patch)
tree7c409125557585a15aa43fa9ce6badbb1bd7baaa /src
parent46340f1c5f8765276701a2831d6efd45607d8ff5 (diff)
downloadQt-93b02976b7c9c3a36cac475c1935622ebc2f1fe1.zip
Qt-93b02976b7c9c3a36cac475c1935622ebc2f1fe1.tar.gz
Qt-93b02976b7c9c3a36cac475c1935622ebc2f1fe1.tar.bz2
Test, demo, and work-around bug QTBUG-8535
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativewebview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativewebview.cpp b/src/declarative/graphicsitems/qdeclarativewebview.cpp
index 61b5b56..a2b16ba 100644
--- a/src/declarative/graphicsitems/qdeclarativewebview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativewebview.cpp
@@ -177,6 +177,8 @@ void QDeclarativeWebView::init()
{
Q_D(QDeclarativeWebView);
+ QWebSettings::enablePersistentStorage();
+
setAcceptHoverEvents(true);
setAcceptedMouseButtons(Qt::LeftButton);
setFlag(QGraphicsItem::ItemHasNoContents, false);
@@ -955,6 +957,7 @@ void QDeclarativeWebView::setPage(QWebPage *page)
connect(d->page,SIGNAL(repaintRequested(QRect)),this,SLOT(paintPage(QRect)));
connect(d->page->mainFrame(),SIGNAL(urlChanged(QUrl)),this,SLOT(pageUrlChanged()));
connect(d->page->mainFrame(), SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged(QString)));
+ connect(d->page->mainFrame(), SIGNAL(titleChanged(QString)), this, SIGNAL(iconChanged()));
connect(d->page->mainFrame(), SIGNAL(iconChanged()), this, SIGNAL(iconChanged()));
connect(d->page->mainFrame(), SIGNAL(contentsSizeChanged(QSize)), this, SLOT(noteContentsSizeChanged(QSize)));
connect(d->page->mainFrame(), SIGNAL(initialLayoutCompleted()), this, SLOT(initialLayout()));