]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/widgets/TabWidget.h
Clear the focus of the URL line edit when opening a new tab from the context menu...
[PrivacyBrowserPC.git] / src / widgets / TabWidget.h
index 2b63a63203bc9d11dd95db59ebce45ef8f7adcfd..6a24313b74561389ab87b35f1b1478554a7802e7 100644 (file)
@@ -84,8 +84,8 @@ signals:
 
 public Q_SLOTS:
     // The public slots.
-    PrivacyWebEngineView* addTab();
     void addCookieToStore(QNetworkCookie cookie, QWebEngineCookieStore *webEngineCookieStorePointer = nullptr) const;
+    PrivacyWebEngineView* addTab(const bool focusNewWebEngineView=false);
     void applyApplicationSettings();
     void applyDomainSettingsAndReload();
     void applyDomainSettingsWithoutReloading(const QString &hostname);