mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:29:47 +02:00
Fix -Wunused-result from invokeResult
This commit is contained in:
parent
e0fd968216
commit
87b102ae0f
1 changed files with 1 additions and 2 deletions
|
@ -234,6 +234,5 @@ void VrMenu::removeAction(QAction* action) {
|
||||||
QObject* menu = item->parent();
|
QObject* menu = item->parent();
|
||||||
// Proxy QuickItem requests through the QML layer
|
// Proxy QuickItem requests through the QML layer
|
||||||
QQuickMenuBase* qmlItem = reinterpret_cast<QQuickMenuBase*>(item);
|
QQuickMenuBase* qmlItem = reinterpret_cast<QQuickMenuBase*>(item);
|
||||||
bool invokeResult = QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection,
|
QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection, Q_ARG(QQuickMenuBase*, qmlItem));
|
||||||
Q_ARG(QQuickMenuBase*, qmlItem));
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue