summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/peermanager.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-01-28 15:46:51 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-01-28 15:49:55 (GMT)
commit1a6e9a69235458e55b2e726e51d2797434780384 (patch)
tree1806db1ce99a8d62486541aa7b1a2b2819e07da8 /examples/network/network-chat/peermanager.cpp
parentb4d60000981e298b7e40605a284f2b8b9b18fff5 (diff)
downloadQt-1a6e9a69235458e55b2e726e51d2797434780384.zip
Qt-1a6e9a69235458e55b2e726e51d2797434780384.tar.gz
Qt-1a6e9a69235458e55b2e726e51d2797434780384.tar.bz2
Core classes, examples, demos: Some changes from string to char
Reviewed-by: Peter Hartmann
Diffstat (limited to 'examples/network/network-chat/peermanager.cpp')
-rw-r--r--examples/network/network-chat/peermanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/peermanager.cpp b/examples/network/network-chat/peermanager.cpp
index 5ad2dc7..430031b 100644
--- a/examples/network/network-chat/peermanager.cpp
+++ b/examples/network/network-chat/peermanager.cpp
@@ -61,7 +61,7 @@ PeerManager::PeerManager(Client *client)
foreach (QString string, envVariables) {
int index = environment.indexOf(QRegExp(string));
if (index != -1) {
- QStringList stringList = environment.at(index).split("=");
+ QStringList stringList = environment.at(index).split('=');
if (stringList.size() == 2) {
username = stringList.at(1).toUtf8();
break;