| 85 | } |
| 86 | |
| 87 | void SyncthingMenuAction::createMenu(const QList<QAction *> &actions) |
| 88 | { |
| 89 | if (actions.isEmpty()) { |
| 90 | return; |
| 91 | } |
| 92 | auto *const menu = new QMenu(m_parentWidget); |
| 93 | menu->addActions(actions); |
| 94 | setMenu(menu); |
| 95 | } |
nothing calls this directly
no outgoing calls
no test coverage detected