From e5d1f43e3c58bef6da3ea5a725a57872ddb74f27 Mon Sep 17 00:00:00 2001 From: matgic78 Date: Mon, 28 Dec 2009 14:26:20 +0100 Subject: Fix compilation after rebasing --- src/rekonqpage/previewchooser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rekonqpage') 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 #include #include +#include // Qt Includes #include @@ -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(mv->webView(i)); + WebView *view = qobject_cast(mv->webTab(i)->view()); if(view->url().scheme() == "about:") continue; -- cgit v1.2.1