From 1d2e4946e7650466a21acc6d2abb19740a63d431 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 22 Apr 2010 01:42:58 +0200 Subject: Fix, improve and clean WebSnap API. This led me to a little polish in the classes using the WebSnap facilities and to change the mechanism the NewTabPage retrieves images from the "cache" --- src/tabbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabbar.cpp') diff --git a/src/tabbar.cpp b/src/tabbar.cpp index f8da57b1..fca3c6b1 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -173,7 +173,7 @@ void TabBar::showTabPreview(int tab) m_previewPopup.data()->setFixedSize(w, h); QLabel *l = new QLabel(); - l->setPixmap( WebSnap::renderPreview( *indexedTab->page(), w, h, true) ); + l->setPixmap( WebSnap::renderPreview( *indexedTab->page(), w, h) ); m_previewPopup.data()->setView(l); m_previewPopup.data()->layout()->setAlignment(Qt::AlignTop); -- cgit v1.2.1