From 7b49f56695a23d2095863fb9e713346d0dc370e3 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 22 Apr 2020 17:01:55 +0200 Subject: [PATCH] [FSD] Use errorString for socket errors --- src/blackcore/fsd/fsdclient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blackcore/fsd/fsdclient.h b/src/blackcore/fsd/fsdclient.h index ccaebe0b1..61a0aead3 100644 --- a/src/blackcore/fsd/fsdclient.h +++ b/src/blackcore/fsd/fsdclient.h @@ -333,9 +333,10 @@ namespace BlackCore void readDataFromSocket() { this->readDataFromSocketMaxLines(); } void readDataFromSocketMaxLines(int maxLines = -1); + void parseMessage(const QString &lineRaw); + QString socketErrorString(QAbstractSocket::SocketError error) const; static QString socketErrorToQString(QAbstractSocket::SocketError error); - void parseMessage(const QString &lineRaw); //! Init. the message types void initializeMessageTypes();