mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #128] [MERGED] Let NetVariant::fromQJSValue consume all QObject derived types. #219
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/128
Author: @afillebrown
Created: 4/25/2019
Status: ✅ Merged
Merged: 4/25/2019
Merged by: @pauldotknopf
Base:
develop← Head:afillebrown/develop📝 Commits (1)
ec18a48Let NetVariant::fromQJSValue consume all QObject derived types.📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/native/QmlNet/QmlNet/qml/NetVariant.cpp(+2 -2)📄 Description
A QObject wrapped in a QJSValue can not be passed from C++ to QmlNet even though QObject interaction is now supported for QObject types not derived from NetValueInterface. This PR updates the NetVariant::fromQJSValue function to create a valid NetVariant from any QObject, not just QObject types derived from NetValueInterface.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.