Skip to content

src: Use errorOccurred instead of error signal#115

Open
Nerixyz wants to merge 1 commit intocommuni:masterfrom
Nerixyz:fix/error-occurred
Open

src: Use errorOccurred instead of error signal#115
Nerixyz wants to merge 1 commit intocommuni:masterfrom
Nerixyz:fix/error-occurred

Conversation

@Nerixyz
Copy link

@Nerixyz Nerixyz commented Nov 28, 2022

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.

@Thaodan
Copy link
Member

Thaodan commented Nov 29, 2022

Please follow the existing commits message layout.

@Nerixyz Nerixyz changed the title fix: Use QAbstractSocket::errorOccurred Signal over error in Qt 5.15 and Up src: Use errorOccurred instead of error signal Nov 29, 2022
@Nerixyz
Copy link
Author

Nerixyz commented Nov 29, 2022

Please follow the existing commits message layout.

I updated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants