| 87 | } |
| 88 | |
| 89 | void EditorChatButton::mousePressEvent(QMouseEvent *event) |
| 90 | { |
| 91 | if (event->button() == Qt::LeftButton) { |
| 92 | m_isPressed = true; |
| 93 | update(); |
| 94 | } |
| 95 | QWidget::mousePressEvent(event); |
| 96 | } |
| 97 | |
| 98 | void EditorChatButton::mouseReleaseEvent(QMouseEvent *event) |
| 99 | { |
nothing calls this directly
no outgoing calls
no test coverage detected