X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwidgets%2FTabWidget.cpp;fp=src%2Fwidgets%2FTabWidget.cpp;h=a8f59b4800e6671ad167a3319574773c80c6c094;hp=eb923336797868fd23e95206c1f20d7e2b6ccae2;hb=37e86f9f1e43c3cf67d4d6a5f0f21a66e1df23fc;hpb=e5ec85accb02116b08c33b574805c132475d90bc diff --git a/src/widgets/TabWidget.cpp b/src/widgets/TabWidget.cpp index eb92333..a8f59b4 100644 --- a/src/widgets/TabWidget.cpp +++ b/src/widgets/TabWidget.cpp @@ -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.