libcommuni
libcommuni copied to clipboard
src: Use errorOccurred instead of error signal
The QAbstractSocket::errorOccurred signal was marked as obsolete in Qt 5.15, and removed in Qt 6. The QAbstractSocket::errorOccurred signal should be used instead.
This PR adds a check that uses the new signal if the Qt version is 5.15 and up.
Please follow the existing commits message layout.
Please follow the existing commits message layout.
I updated it.