--- infoscreen/webview.cpp 2010/06/25 07:19:20 903 +++ infoscreen/webview.cpp 2010/06/25 13:52:07 904 @@ -12,7 +12,7 @@ settings->setAttribute( QWebSettings::PluginsEnabled, true); } -void WebView::start(QString url, QString screenid) { +void WebView::start(QString& url, QString& screenid) { try { this->load( QUrl( generateUrl(url, screenid) ) ); } catch (std::exception& e) { @@ -27,7 +27,7 @@ this->setHtml( str ); } -QString WebView::generateUrl(QString url, QString screenid) { +QString WebView::generateUrl(QString& url, QString& screenid) { QDesktopWidget* desktop = QApplication::desktop(); QRect rect = desktop->screenGeometry();