Skip to content

src: Use errorOccurred instead of error signal#115

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

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

Conversation

@Nerixyz

@Nerixyz Nerixyz commented Nov 28, 2022

Copy link
Copy Markdown

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

Thaodan commented Nov 29, 2022

Copy link
Copy Markdown
Member

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

Nerixyz commented Nov 29, 2022

Copy link
Copy Markdown
Author

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