| 2118 | } |
| 2119 | |
| 2120 | void Viewport::show_contextmenu(const QPoint& pos) |
| 2121 | { |
| 2122 | if(_cmenu && |
| 2123 | _view.session().get_device()->get_work_mode() == DSO) |
| 2124 | { |
| 2125 | _cur_preX = pos.x(); |
| 2126 | _cur_preY = pos.y(); |
| 2127 | _cmenu->exec(QCursor::pos()); |
| 2128 | } |
| 2129 | } |
| 2130 | |
| 2131 | void Viewport::add_cursor_y() |
| 2132 | { |
nothing calls this directly
no test coverage detected