| 50 | } |
| 51 | |
| 52 | void GitReceiver::handleContextMenuEvent(const dpf::Event &event) |
| 53 | { |
| 54 | auto editorMenu = event.property("menu").value<QMenu *>(); |
| 55 | if (editorMenu) |
| 56 | editorMenu->addAction(GitMenuManager::instance()->gitAction()); |
| 57 | } |
| 58 | |
| 59 | void GitReceiver::handleSwitchedFileEvent(const dpf::Event &event) |
| 60 | { |