summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 8a5c5cfa..297871b0 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -86,9 +86,10 @@ public:
* with a webview inside
* @param focused decide if you wannna give focus
* (or not) to this new tab (default true)
+ * @param nearParent decide if you wanna create new tab near current or not
* @return the webview embedded in the new tab
*/
- WebView *newWebView(bool focused = true);
+ WebView *newWebView(bool focused = true, bool nearParent = false);
signals:
// tab widget signals