summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-03-29 16:01:14 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-04-05 14:42:22 (GMT)
commit0dd4a8c535b51ed66b84c77872dd0309d4d2690c (patch)
tree6f7abe8f5ae16ec7c61760528cd085dd5290e8a0 /demos
parent17b9675da72ddf90a4ec8448b7c57681e482d91b (diff)
downloadQt-0dd4a8c535b51ed66b84c77872dd0309d4d2690c.zip
Qt-0dd4a8c535b51ed66b84c77872dd0309d4d2690c.tar.gz
Qt-0dd4a8c535b51ed66b84c77872dd0309d4d2690c.tar.bz2
Fixed string-int concatenation issue.
Task-number: QTBUG-18086
Diffstat (limited to 'demos')
-rw-r--r--demos/browser/networkaccessmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/browser/networkaccessmanager.cpp b/demos/browser/networkaccessmanager.cpp
index 9e717bb..34ba432 100644
--- a/demos/browser/networkaccessmanager.cpp
+++ b/demos/browser/networkaccessmanager.cpp
@@ -187,7 +187,7 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox
void NetworkAccessManager::sslErrors(QNetworkReply *reply, const QList<QSslError> &error)
{
// check if SSL certificate has been trusted already
- QString replyHost = reply->url().host() + ":" + reply->url().port();
+ QString replyHost = reply->url().host() + QString(":%1").arg(reply->url().port());
if(! sslTrustedHostList.contains(replyHost)) {
BrowserMainWindow *mainWindow = BrowserApplication::instance()->mainWindow();