]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/commitdiff
Use the webpage title as the default archive name. https://redmine.stoutner.com...
authorSoren Stoutner <soren@stoutner.com>
Wed, 27 Dec 2023 22:15:53 +0000 (15:15 -0700)
committerSoren Stoutner <soren@stoutner.com>
Wed, 27 Dec 2023 22:15:53 +0000 (15:15 -0700)
src/widgets/TabWidget.cpp

index a8f59b4800e6671ad167a3319574773c80c6c094..bd3882dcbeadd35dae184850d2e07d6e3b0d915a 100644 (file)
@@ -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();