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

[connman-qt5] Don't print deprecation warning on local access. JB#61909 #31

Merged
merged 1 commit into from Apr 17, 2024

Conversation

pvuorela
Copy link
Contributor

The NetworkService::stateChanged() is still present and when it gets emitted, the macro setup ends up calling state() to get the signal parameter.

Took the easy route, instead of rewriting the macro system etc just store when the signals are emitted and avoid the deprecation warning then.

libconnman-qt/networkservice.cpp Outdated Show resolved Hide resolved
The NetworkService::stateChanged() is still present and when it gets
emitted, the macro setup ends up calling state() to get the
signal parameter.

Took the easy route, instead of rewriting the macro system etc
just store when the signals are emitted and avoid the deprecation
warning then.
@pvuorela pvuorela merged commit 8a08199 into master Apr 17, 2024
@mlehtima mlehtima deleted the bad_deprecation_warning branch April 17, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants