diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-03-28 16:56:34 +0100 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2013-11-01 13:57:50 +0100 |
commit | 3a85c2c3cfc3f574ee3108cb192595c85c3f1fb6 (patch) | |
tree | e52c56b6b3c1a0646e7661cd1f08f8556855cc76 | |
parent | 7fc97a8a759f1df2fee910b6736ae27228111311 (diff) | |
download | qtwebchannel-3a85c2c3cfc3f574ee3108cb192595c85c3f1fb6.tar.gz |
Use 127.0.0.1. instead of localhost.
Change-Id: I5948de7edff3aa8a58c9cc6e3789c4e7fffb7260
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
-rw-r--r-- | src/qwebchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qwebchannel.cpp b/src/qwebchannel.cpp index ea78046..e6c9d5a 100644 --- a/src/qwebchannel.cpp +++ b/src/qwebchannel.cpp @@ -113,7 +113,7 @@ void QWebChannelPrivate::init() return; } - m_baseUrl = QString("localhost:%1%2").arg(port()).arg(QString::fromLatin1(m_secret)); + m_baseUrl = QString("127.0.0.1:%1%2").arg(port()).arg(QString::fromLatin1(m_secret)); emit initialized(); } |