examples/network/network-chat/client.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
--- a/examples/network/network-chat/client.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/examples/network/network-chat/client.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -69,8 +69,8 @@
 
 QString Client::nickName() const
 {
-    return QString(peerManager->userName()) + "@" + QHostInfo::localHostName()
-           + ":" + QString::number(server.serverPort());
+    return QString(peerManager->userName()) + '@' + QHostInfo::localHostName()
+           + ':' + QString::number(server.serverPort());
 }
 
 bool Client::hasConnection(const QHostAddress &senderIp, int senderPort) const