diff options
Diffstat (limited to 'src/rekonqpage/previewchooser.cpp')
-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; |