Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: Use errorOccurred instead of error signal #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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