libcommuni icon indicating copy to clipboard operation
libcommuni copied to clipboard

src: Use errorOccurred instead of error signal

Open Nerixyz opened this issue 3 years ago • 2 comments

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.

Nerixyz avatar Nov 28 '22 19:11 Nerixyz

Please follow the existing commits message layout.

Thaodan avatar Nov 29 '22 08:11 Thaodan

Please follow the existing commits message layout.

I updated it.

Nerixyz avatar Nov 29 '22 17:11 Nerixyz