| 474 | #ifdef SYNCTHINGWIDGETS_GUI_QTQUICK_MODE_DESKTOP |
| 475 | template <typename ReturnArg, typename... Args> |
| 476 | bool QuickUI::invokeWidgetFunction(const char *member, QTemplatedMetaMethodReturnArgument<ReturnArg> r, Args &&...args) |
| 477 | { |
| 478 | if (auto *const widget = m_engine->singletonInstance<QObject *>("Tray", "TrayWidget")) { |
| 479 | return QMetaObject::invokeMethod(widget, member, Qt::DirectConnection, r, std::forward<Args>(args)...); |
| 480 | } |
| 481 | return false; |
| 482 | } |
| 483 | #endif |
| 484 | #endif |
| 485 |
nothing calls this directly
no outgoing calls
no test coverage detected