X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fviews%2FBrowserView.cpp;h=edcd26c0f42276cd77ceb88efc1b65adcdc131b4;hp=933a300816208a1ad3528b29fb429f8cab742564;hb=cca335d6b9751fbf0e87daa5f122a1b8770488c8;hpb=455108aa18c90514c0dad3c12dfea98180dfb471 diff --git a/src/views/BrowserView.cpp b/src/views/BrowserView.cpp index 933a300..edcd26c 100644 --- a/src/views/BrowserView.cpp +++ b/src/views/BrowserView.cpp @@ -209,7 +209,7 @@ void BrowserView::applyDomainSettings(const QString &hostname, const bool reload webEngineViewPointer->setZoomFactor(currentZoomFactor); // Apply the domain settings palette to the URL line edit. - emit updateDomainSettingsIndicator(true); + emit updateDomainSettingsIndicator(true, domainRecord.field(DomainsDatabaseHelper::DOMAIN_NAME).value().toString()); } else // The hostname does not have domain settings. { @@ -229,7 +229,7 @@ void BrowserView::applyDomainSettings(const QString &hostname, const bool reload webEngineViewPointer->setZoomFactor(Settings::zoomFactor()); // Apply the no domain settings palette to the URL line edit. - emit updateDomainSettingsIndicator(false); + emit updateDomainSettingsIndicator(false, QStringLiteral("")); } // Emit the update actions signals. @@ -405,7 +405,7 @@ void BrowserView::toggleLocalStorage() const void BrowserView::updateUrl(const QUrl &url) const { // Update the URL line edit. - emit updateUrlLineEdit(url.toString()); + emit updateUrlLineEdit(url); // Update the status of the forward and back buttons. emit updateBackAction(webEngineHistoryPointer->canGoBack());