diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-06-24 01:34:06 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-06-24 01:34:06 (GMT) |
commit | 3900421868b910703ddc51185d1d5b6e67540e8e (patch) | |
tree | a5f150a395ab05efe401bd2ff00a02947059f243 /src/declarative/fx | |
parent | 6d7120dc2081e10c46ffe8467b047affe81ed747 (diff) | |
download | Qt-3900421868b910703ddc51185d1d5b6e67540e8e.zip Qt-3900421868b910703ddc51185d1d5b6e67540e8e.tar.gz Qt-3900421868b910703ddc51185d1d5b6e67540e8e.tar.bz2 |
Clean up some code that has moved to QFxPaintedItem
Diffstat (limited to 'src/declarative/fx')
-rw-r--r-- | src/declarative/fx/qfxpainteditem.cpp | 1 | ||||
-rw-r--r-- | src/declarative/fx/qfxwebview.cpp | 7 | ||||
-rw-r--r-- | src/declarative/fx/qfxwebview.h | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/declarative/fx/qfxpainteditem.cpp b/src/declarative/fx/qfxpainteditem.cpp index 29d11ff..37eea9a 100644 --- a/src/declarative/fx/qfxpainteditem.cpp +++ b/src/declarative/fx/qfxpainteditem.cpp @@ -156,7 +156,6 @@ void QFxPaintedItem::setSmooth(bool smooth) Q_D(QFxPaintedItem); if (d->smooth == smooth) return; d->smooth = smooth; - clearCache(); update(); } diff --git a/src/declarative/fx/qfxwebview.cpp b/src/declarative/fx/qfxwebview.cpp index adb33e8..f4a06ce 100644 --- a/src/declarative/fx/qfxwebview.cpp +++ b/src/declarative/fx/qfxwebview.cpp @@ -428,12 +428,6 @@ void QFxWebView::setInteractive(bool i) emit interactiveChanged(); } -void QFxWebView::updateCacheForVisibility() -{ - if (!isVisible()) - clearCache(); -} - void QFxWebView::expandToWebPage() { Q_D(QFxWebView); @@ -845,7 +839,6 @@ void QFxWebView::setPage(QWebPage *page) d->idealheight>0 ? d->idealheight : -1)); d->page->mainFrame()->setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff); d->page->mainFrame()->setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff); - connect(this,SIGNAL(visibleChanged()),this,SLOT(updateCacheForVisibility())); connect(d->page,SIGNAL(repaintRequested(QRect)),this,SLOT(paintPage(QRect))); connect(d->page->mainFrame(),SIGNAL(urlChanged(QUrl)),this,SIGNAL(urlChanged())); connect(d->page->mainFrame(), SIGNAL(titleChanged(QString)), this, SIGNAL(titleChanged(QString))); diff --git a/src/declarative/fx/qfxwebview.h b/src/declarative/fx/qfxwebview.h index c9a62cc..0ac1895 100644 --- a/src/declarative/fx/qfxwebview.h +++ b/src/declarative/fx/qfxwebview.h @@ -179,7 +179,6 @@ Q_SIGNALS: void doubleClick(); private Q_SLOTS: - void updateCacheForVisibility(); void expandToWebPage(); void paintPage(const QRect&); void doLoadProgress(int p); |