refactor: Replace GUIUtil::ObjectInvoke() with QMetaObject::invokeMethod()#587
Merged
hebasto merged 2 commits intobitcoin-core:masterfrom Apr 22, 2022
Merged
refactor: Replace GUIUtil::ObjectInvoke() with QMetaObject::invokeMethod()#587hebasto merged 2 commits intobitcoin-core:masterfrom
GUIUtil::ObjectInvoke() with QMetaObject::invokeMethod()#587hebasto merged 2 commits intobitcoin-core:masterfrom
Conversation
The `GUIUtil::ObjectInvoke()` template function was a replacement of the `QMetaObject::invokeMethod()` functor overload which is available in Qt 5.10+. No behavior change.
This reverts commit 5659e73.
Contributor
|
Approach ACK |
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
promag
reviewed
Apr 19, 2022
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Apr 22, 2022
…)` with `QMetaObject::invokeMethod()` 6958a26 Revert "qt: Add ObjectInvoke template function" (Hennadii Stepanov) 249984f qt: Replace `GUIUtil::ObjectInvoke()` with `QMetaObject::invokeMethod()` (Hennadii Stepanov) Pull request description: A comment in 5659e73 states that `GUIUtil::ObjectInvoke` > can be replaced by a call to the QMetaObject::invokeMethod functor overload after Qt 5.10 ACKs for top commit: w0xlt: tACK bitcoin-core/gui@6958a26 on Ubuntu 21.10, Qt 5.15.2. promag: Code review ACK 6958a26. Tree-SHA512: 6a840289568113cf38df6c1092821d626c2d206768a21d4dc6846b9dcccb4130477adb45ba718bb6bc15a3041871a7df3238983ac03db80406732be597693266
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A comment in 5659e73 states that
GUIUtil::ObjectInvoke