+ // Listen for hovered link URLs.
+ connect(webEnginePagePointer, SIGNAL(linkHovered(QString)), this, SLOT(pageLinkHovered(QString)));
+
+ // Set the zoom factor.
+ webEngineViewPointer->setZoomFactor(Settings::zoomFactor());
+
+ // Set the focus on the WebEngine view.
+ webEngineViewPointer->setFocus();
+
+ // Load the homepage. TODO. Consider sanitizing the homepage input and adding things like protocols if they are missing.
+ webEngineViewPointer->setUrl(Settings::homepage());