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

MRemoteAction enhancements. JB#60924 #5

Merged
merged 2 commits into from Dec 1, 2023
Merged

MRemoteAction enhancements. JB#60924 #5

merged 2 commits into from Dec 1, 2023

Conversation

pvuorela
Copy link
Contributor

@pvuorela pvuorela commented Dec 1, 2023

Allows to modify MRemoteAction properties after instantiation.
Allows to explicitly make the d-bus call keep the privileges of the calling process.

Adjusted some overly long lines while at it too.
…#60924

Added MRemoteAction::setKeepPrivileges(bool) which explicitly avoids
calling the method with a helper tool, keeping d-bus sender of the
current process.

Dropped serialization + deserialization from instance copy and instead
allowing private class's default copy constructor just copy the instance
data.
@pvuorela pvuorela merged commit 88cb89f into master Dec 1, 2023
@rainemak rainemak deleted the keep_privileges branch December 20, 2023 15:22
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