X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwidgets%2FTabWidget.cpp;fp=src%2Fwidgets%2FTabWidget.cpp;h=ff8563c96a9b5d8b311aca160f51b3098e5ab41c;hp=3a1b54f33f2028f411b5eefadb14d346f794bb13;hb=b516206c4d278640374cbfe244a5510e5ac70b54;hpb=aa9a6b20db5e2c808b390b62704f28bd649e283c diff --git a/src/widgets/TabWidget.cpp b/src/widgets/TabWidget.cpp index 3a1b54f..ff8563c 100644 --- a/src/widgets/TabWidget.cpp +++ b/src/widgets/TabWidget.cpp @@ -334,6 +334,9 @@ PrivacyWebEngineView* TabWidget::addTab(const bool focusNewWebEngineView) // Set the spell check language. webEngineProfilePointer->setSpellCheckLanguages({QStringLiteral("en_US")}); + // Populate the zoom factor. This is necessary if a URL is being loaded, like a local URL, that does not trigger `applyDomainSettings()`. + privacyWebEngineViewPointer->setZoomFactor(Settings::zoomFactor()); + // Move to the new tab. tabWidgetPointer->setCurrentIndex(newTabIndex);