Commit 3b12064c07e56251c59d8e899dd0f06523035536
Committed by
GitHub
Merge pull request #486 from raomshauty/master
Possible fix for run-time crash when using qt 5.7
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/openbr_plugin.cpp
| ... | ... | @@ -1617,7 +1617,7 @@ Transform *Transform::make(QString str, QObject *parent) |
| 1617 | 1617 | |
| 1618 | 1618 | if (transform->independent) { |
| 1619 | 1619 | File independent(".Independent"); |
| 1620 | - independent.set("transform", qVariantFromValue<void*>(transform)); | |
| 1620 | + independent.set("transform", QVariant::fromValue(transform)); | |
| 1621 | 1621 | transform = Factory<Transform>::make(independent); |
| 1622 | 1622 | } |
| 1623 | 1623 | ... | ... |