summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-12-28 14:26:20 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:46 +0100
commite5d1f43e3c58bef6da3ea5a725a57872ddb74f27 (patch)
tree29abb0ba85f425f1a2010b699504ad0fa81a2f10
parentFirst expermimental implementation of a new way of choosing a preview (diff)
downloadrekonq-e5d1f43e3c58bef6da3ea5a725a57872ddb74f27.tar.xz
Fix compilation after rebasing
-rw-r--r--src/rekonqpage/previewchooser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rekonqpage/previewchooser.cpp b/src/rekonqpage/previewchooser.cpp
index a7c86d12..fde36563 100644
--- a/src/rekonqpage/previewchooser.cpp
+++ b/src/rekonqpage/previewchooser.cpp
@@ -29,6 +29,7 @@
#include <bookmarkstreemodel.h>
#include <bookmarksproxy.h>
#include <mainview.h>
+#include <webtab.h>
// Qt Includes
#include <QLabel>
@@ -100,7 +101,7 @@ void PreviewChooser::refreshModel()
MainView *mv = Application::instance()->mainWindow()->mainView();
for(int i=0; i < mv->count(); ++i)
{
- WebView *view = qobject_cast<WebView *>(mv->webView(i));
+ WebView *view = qobject_cast<WebView *>(mv->webTab(i)->view());
if(view->url().scheme() == "about:")
continue;