From c443cca294f7b5b4c71ea55094dcfd685c9a2256 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 27 Dec 2023 15:15:53 -0700 Subject: [PATCH] Use the webpage title as the default archive name. https://redmine.stoutner.com/issues/1139 --- src/widgets/TabWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/TabWidget.cpp b/src/widgets/TabWidget.cpp index a8f59b4..bd3882d 100644 --- a/src/widgets/TabWidget.cpp +++ b/src/widgets/TabWidget.cpp @@ -907,7 +907,7 @@ void TabWidget::reloadAndBypassCache() const void TabWidget::saveArchive() { // Get the suggested file name. - QString suggestedFileName = currentPrivacyWebEngineViewPointer->url().host() + ".mht"; + QString suggestedFileName = currentPrivacyWebEngineViewPointer->title() + ".mht"; // Get the download directory. QString downloadDirectory = Settings::downloadLocation(); -- 2.45.2