From 8a78f43517a8d36c42caeedf3e529425bb000c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= Date: Fri, 16 May 2014 17:33:26 +0200 Subject: Fix up tabbed browser code. Change-Id: Ia1a92a7eb9b3568e8cb7ccf6c7056abba647fd8d Reviewed-by: Jocelyn Turcotte --- examples/webenginewidgets/browser/tabwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/webenginewidgets/browser/tabwidget.cpp') diff --git a/examples/webenginewidgets/browser/tabwidget.cpp b/examples/webenginewidgets/browser/tabwidget.cpp index efc7c438f..2503f4b8a 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))); -- cgit v1.2.3