Revert "Port some qt5.15 deprecated method"
QLocalSocket::socketError does not exist and error isn't actually deprecated
This reverts commit 3f430a23.
QLocalSocket::socketError does not exist and error isn't actually deprecated
This reverts commit 3f430a23.