mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
Fixed build warnings with qtsingleapplication
This commit is contained in:
parent
a42d9b950f
commit
cf14bcbdf1
2
src/3rdparty/qtlocalpeer.cpp
vendored
2
src/3rdparty/qtlocalpeer.cpp
vendored
@ -191,7 +191,7 @@ void QtLocalPeer::receiveConnection()
|
|||||||
uMsgBuf += got;
|
uMsgBuf += got;
|
||||||
} while (remaining && got >= 0 && socket->waitForReadyRead(2000));
|
} while (remaining && got >= 0 && socket->waitForReadyRead(2000));
|
||||||
if (got < 0) {
|
if (got < 0) {
|
||||||
qWarning(QString("QtLocalPeer: Message reception failed "+socket->errorString()).toLocal8Bit());
|
qWarning("QtLocalPeer: Message reception failed %s", qPrintable(socket->errorString()));
|
||||||
delete socket;
|
delete socket;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user