| 136 | } |
| 137 | |
| 138 | void LCDWidget::mousePressEvent(QMouseEvent *e) { |
| 139 | if (e->button() == Qt::LeftButton && (control.ports[5] & 1 << 4)) { |
| 140 | m_screenshotDrag = true; |
| 141 | e->accept(); |
| 142 | } else { |
| 143 | e->ignore(); |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | void LCDWidget::mouseMoveEvent(QMouseEvent *e) { |
| 148 | if (m_screenshotDrag) |
nothing calls this directly
no outgoing calls
no test coverage detected