mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 10:31:58 +02:00
Review fix
This commit is contained in:
parent
7327a56ad2
commit
27ddd1d61d
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ MenuUserData::MenuUserData(QAction* action, QObject* qmlObject, QObject* qmlPare
|
||||||
virtual bool eventFilter(QObject* o, QEvent* e) override {
|
virtual bool eventFilter(QObject* o, QEvent* e) override {
|
||||||
if (e->type() == QEvent::DynamicPropertyChange) {
|
if (e->type() == QEvent::DynamicPropertyChange) {
|
||||||
QDynamicPropertyChangeEvent* dpc = static_cast<QDynamicPropertyChangeEvent*>(e);
|
QDynamicPropertyChangeEvent* dpc = static_cast<QDynamicPropertyChangeEvent*>(e);
|
||||||
if (dpc->propertyName() == "exclusionGroup")
|
if (dpc->propertyName() == "exclusionGroup") {
|
||||||
{
|
|
||||||
// unfortunately Qt doesn't support passing dynamic properties between C++ / QML, so we have to use this ugly helper function
|
// unfortunately Qt doesn't support passing dynamic properties between C++ / QML, so we have to use this ugly helper function
|
||||||
QMetaObject::invokeMethod(_qmlParent,
|
QMetaObject::invokeMethod(_qmlParent,
|
||||||
"addExclusionGroup",
|
"addExclusionGroup",
|
||||||
|
|
Loading…
Reference in a new issue