qlocalsocket_win.cpp: Fix compiler warning.
Change-Id: Ibdb57f99b98b0c603be3c9be043737687034a958 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Jonas Gastal <jgastal@profusion.mobi> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
0fd8816340
commit
aa4c2bbce9
@ -132,7 +132,7 @@ void QLocalSocket::connectToServer(const QString &name, OpenMode openMode)
|
|||||||
{
|
{
|
||||||
Q_D(QLocalSocket);
|
Q_D(QLocalSocket);
|
||||||
if (state() == ConnectedState || state() == ConnectingState) {
|
if (state() == ConnectedState || state() == ConnectingState) {
|
||||||
setErrorString("Trying to connect while connection is in progress");
|
setErrorString(tr("Trying to connect while connection is in progress"));
|
||||||
emit error(QLocalSocket::OperationError);
|
emit error(QLocalSocket::OperationError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user