]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/widgets/TabWidget.cpp
Add an stop action. https://redmine.stoutner.com/issues/1141
[PrivacyBrowserPC.git] / src / widgets / TabWidget.cpp
index eb923336797868fd23e95206c1f20d7e2b6ccae2..a8f59b4800e6671ad167a3319574773c80c6c094 100644 (file)
@@ -1104,6 +1104,12 @@ void TabWidget::showSaveDialog(QWebEngineDownloadItem *webEngineDownloadItemPoin
     savingArchive = false;
 }
 
+void TabWidget::stop() const
+{
+    // Stop the loading of the current privacy WebEngine.
+    currentPrivacyWebEngineViewPointer->stop();
+}
+
 void TabWidget::toggleDeveloperTools(const bool enabled) const
 {
     // Get a handle for the current developer tools WebEngine.