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 <andreas.holzammer@kdab.com> Reviewed-by: Johannes Oikarinen <johannes.oikarinen@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
6a50270013
commit
fc21811982
@ -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;
|
||||
else
|
||||
d->fullServerName = prefix + d->serverName;
|
||||
|
Loading…
Reference in New Issue
Block a user