summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h6
1 files changed, 3 insertions, 3 deletions
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);