| 168 | ProjectItemLineEdit::~ProjectItemLineEdit() = default; |
| 169 | |
| 170 | void ProjectItemLineEdit::showCtxMenu(const QPoint& p) |
| 171 | { |
| 172 | auto* menu = createStandardContextMenu(); |
| 173 | KDevelop::prepareStandardContextMenuToAddingCustomActions(menu, this); |
| 174 | menu->addActions(actions()); |
| 175 | |
| 176 | menu->setAttribute(Qt::WA_DeleteOnClose); |
| 177 | menu->popup(mapToGlobal(p)); |
| 178 | } |
| 179 | |
| 180 | bool ProjectItemLineEdit::selectItemDialog() |
| 181 | { |
nothing calls this directly
no test coverage detected