// Store the search engine string.
searchEngineUrl = SearchEngineHelper::getSearchUrl(searchEngineName);
+
+ // Update the search engine actionas.
+ emit updateSearchEngineActions(searchEngineName);
}
void BrowserView::applyOnTheFlyUserAgent(QAction *userAgentActionPointer) const
// Apply the user agent.
webEngineProfilePointer->setHttpUserAgent(UserAgentHelper::getUserAgentFromTranslatedName(userAgentName));
+ // Update the user agent actions.
+ emit updateUserAgentActions(webEngineProfilePointer->httpUserAgent());
+
// Reload the website.
webEngineViewPointer->reload();
}