diff --git a/examples/webenginewidgets/browser/browsermainwindow.cpp b/examples/webenginewidgets/browser/browsermainwindow.cpp index 91096e8b94e4e782b1b1e674bb90f6765cd93d14..da026edf70fa9f79848814aa36b59562a7ff156b 100644 --- a/examples/webenginewidgets/browser/browsermainwindow.cpp +++ b/examples/webenginewidgets/browser/browsermainwindow.cpp @@ -638,10 +638,11 @@ void BrowserMainWindow::slotAboutApplication() { QMessageBox::about(this, tr("About"), tr( "Version %1" - "<p>This demo demonstrates Qt's " - "webkit facilities in action, providing an example " + "<p>This demo demonstrates the facilities " + "of Qt WebEngine in action, providing an example " "browser for you to experiment with.<p>" - "<p>QtWebKit is based on the Open Source WebKit Project developed at <a href=\"http://webkit.org/\">http://webkit.org/</a>." + "<p>Qt WebEngine is based on the Chromium open source project " + "developed at <a href=\"http://www.chromium.org/\">http://www.chromium.org/</a>." ).arg(QCoreApplication::applicationVersion())); } diff --git a/examples/webenginewidgets/browser/tabwidget.cpp b/examples/webenginewidgets/browser/tabwidget.cpp index efc7c438f76897d9141c727611953e905ca46658..2503f4b8a613c818b159b5b9dc7da41e334cf54f 100644 --- a/examples/webenginewidgets/browser/tabwidget.cpp +++ b/examples/webenginewidgets/browser/tabwidget.cpp @@ -310,8 +310,8 @@ void TabWidget::currentChanged(int index) disconnect(oldWebView, SIGNAL(statusBarMessage(QString)), this, SIGNAL(showStatusBarMessage(QString))); #endif - disconnect(oldWebView->page(), SIGNAL(linkHovered(QString)), - this, SIGNAL(linkHovered(QString))); + disconnect(oldWebView->page(), SIGNAL(linkHovered(const QString&)), + this, SIGNAL(linkHovered(const QString&))); disconnect(oldWebView, SIGNAL(loadProgress(int)), this, SIGNAL(loadProgress(int))); } @@ -320,8 +320,8 @@ void TabWidget::currentChanged(int index) connect(webView, SIGNAL(statusBarMessage(QString)), this, SIGNAL(showStatusBarMessage(QString))); #endif - connect(webView->page(), SIGNAL(linkHovered(QString)), - this, SIGNAL(linkHovered(QString))); + connect(webView->page(), SIGNAL(linkHovered(const QString&)), + this, SIGNAL(linkHovered(const QString&))); connect(webView, SIGNAL(loadProgress(int)), this, SIGNAL(loadProgress(int)));