path: root/src
diff options
authorJanne Anttila <>2013-03-21 14:52:50 +0200
committerThe Qt Project <>2013-04-12 09:31:51 +0200
commitfc218119829b745edfe6172be22a82ea8c80886a (patch)
tree71e9f476a388478b789a06224bb83d42e3770cd3 /src
parent6a50270013a24185e6900c72bbfe043418cec138 (diff)
Fix qlocalsocket_tcp.cpp build for Windows Embedded Compact 7.
There is no 'name' variable, but apparently 'd->serverName' is correct variable here. Some other methods take 'name' as an argument and have similar code block, so I think this is a copy/paste error introduced somewhere in the past. Change-Id: I2e82b42688b9928e0dcc5054df04e87d30a5e38e Reviewed-by: Andreas Holzammer <> Reviewed-by: Johannes Oikarinen <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qlocalsocket_tcp.cpp b/src/network/socket/qlocalsocket_tcp.cpp
index edde5a4687..31aaa6e1c5 100644
--- a/src/network/socket/qlocalsocket_tcp.cpp
+++ b/src/network/socket/qlocalsocket_tcp.cpp
@@ -234,7 +234,7 @@ bool QLocalSocket::open(OpenMode openMode)
const QLatin1String prefix("QLocalServer/");
- if (name.startsWith(prefix))
+ if (d->serverName.startsWith(prefix))
d->fullServerName = d->serverName;
d->fullServerName = prefix + d->serverName;