summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-09-22 18:59:38 +0200
committermegabigbug <megabigbug@arrakis.(none)>2009-09-22 18:59:38 +0200
commit0b50199b9262003cfa685a5de78c9aab440c3e16 (patch)
treee2f8573fcef6eabe7db4a85d0d4469bc3343285d /src/mainview.cpp
parentMerge branch 'master' of git://gitorious.org/rekonq/mainline (diff)
downloadrekonq-0b50199b9262003cfa685a5de78c9aab440c3e16.tar.xz
fix page preview
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 47e39524..59ffde4d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -661,7 +661,7 @@ void MainView::showTabPreview(int tab)
m_previewPopup->setFrameShape(QFrame::NoFrame);
m_previewPopup->setFixedSize(w, h);
QLabel *l = new QLabel();
- l->setPixmap(WebSnap::renderPreview(webView(tab)->page(), w, h));
+ l->setPixmap(WebSnap::renderPreview(*(webView(tab)->page()), w, h));
m_previewPopup->setView(l);
m_previewPopup->layout()->setAlignment(Qt::AlignTop);
m_previewPopup->layout()->setMargin(0);