mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 13:03:55 +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();
|
||||
// Proxy QuickItem requests through the QML layer
|
||||
QQuickMenuBase* qmlItem = reinterpret_cast<QQuickMenuBase*>(item);
|
||||
bool invokeResult = QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection,
|
||||
Q_ARG(QQuickMenuBase*, qmlItem));
|
||||
QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection, Q_ARG(QQuickMenuBase*, qmlItem));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue