diff options
author | matgic78 <matgic78@gmail.com> | 2009-12-28 14:26:20 +0100 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-02-06 11:22:46 +0100 |
commit | e5d1f43e3c58bef6da3ea5a725a57872ddb74f27 (patch) | |
tree | 29abb0ba85f425f1a2010b699504ad0fa81a2f10 /src/rekonqpage | |
parent | First expermimental implementation of a new way of choosing a preview (diff) | |
download | rekonq-e5d1f43e3c58bef6da3ea5a725a57872ddb74f27.tar.xz |
Fix compilation after rebasing
Diffstat (limited to 'src/rekonqpage')
-rw-r--r-- | src/rekonqpage/previewchooser.cpp | 3 |
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; |