MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / createMenu

Method createMenu

fileitemactionplugin/syncthingmenuaction.cpp:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected