[FSD] Use errorString for socket errors

This commit is contained in:
Klaus Basan
2020-04-22 17:01:55 +02:00
committed by Mat Sutcliffe
parent 15b3ac2daa
commit 7b49f56695

View File

@@ -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();