mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 06:44:17 +02:00
Merge pull request #7931 from zzmp/fix/unused-result
fix -Wunused-variable
This commit is contained in:
commit
94ef12507b
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