[FSD] Also log/display socker error string

This commit is contained in:
Klaus Basan
2020-04-22 16:15:06 +02:00
committed by Mat Sutcliffe
parent 1a71d8afe1
commit 15b3ac2daa
2 changed files with 15 additions and 3 deletions

View File

@@ -333,7 +333,8 @@ namespace BlackCore
void readDataFromSocket() { this->readDataFromSocketMaxLines(); }
void readDataFromSocketMaxLines(int maxLines = -1);
QString socketErrorToQString(QAbstractSocket::SocketError error);
QString socketErrorString(QAbstractSocket::SocketError error) const;
static QString socketErrorToQString(QAbstractSocket::SocketError error);
void parseMessage(const QString &lineRaw);
//! Init. the message types