From 412e9b019ad5c868dd0c5573bf185a32cca31b7d Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Mon, 14 Dec 2009 17:43:05 +0100 Subject: factor out WebTab class from WebView * it basically represents a tab in rekonq * everything that happens within one tab should go here (wallet bar, find bar?) --- src/tabbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tabbar.cpp') diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 1246d669..ada879a3 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -36,7 +36,7 @@ #include "application.h" #include "mainwindow.h" #include "urlbar.h" -#include "webview.h" +#include "webtab.h" #include "websnap.h" #include "mainview.h" @@ -144,8 +144,8 @@ void TabBar::showTabPreview(int tab) { MainView *mv = qobject_cast(parent()); - WebView *view = mv->webView(tab); - WebView *currentView = mv->webView(currentIndex()); + WebTab *view = mv->webTab(tab); + WebTab *currentView = mv->webTab(currentIndex()); // should fix bug #212219 if(!currentView) -- cgit v1.2.1