From c30a6e73d97530ed22cafa89b59cf25cf93e02d1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 23 Aug 2009 12:39:21 +0200 Subject: Modified newTab function and splitted into two parts. There are still some regressions to be fixed: - open link in new tab is always without focus - urlbar is empty on new tab loading - mics.. --- src/mainview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index 9a0b3412..de07e9a9 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -81,7 +81,8 @@ public: void showTabBar(); void clear(); - + WebView *newWebView(); + signals: // tab widget signals void tabsChanged(); @@ -100,9 +101,8 @@ public slots: * Core browser slot. This create a new tab with a WebView inside * for browsing. * - * @return a pointer to the new WebView */ - WebView *newTab(bool focused = true); + void newTab(); void slotCloneTab(int index = -1); void slotCloseTab(int index = -1); -- cgit v1.2.1