| 1941 | } |
| 1942 | |
| 1943 | bool MergeResultWindow::event(QEvent* e) |
| 1944 | { |
| 1945 | if(e->type() == QEvent::KeyPress) |
| 1946 | { |
| 1947 | QKeyEvent* keyEvent = static_cast<QKeyEvent*>(e); |
| 1948 | if(keyEvent->key() == Qt::Key_Tab) |
| 1949 | { |
| 1950 | // special tab handling here to avoid moving focus |
| 1951 | keyPressEvent(keyEvent); |
| 1952 | return true; |
| 1953 | } |
| 1954 | } |
| 1955 | return QWidget::event(e); |
| 1956 | } |
| 1957 | |
| 1958 | void MergeResultWindow::keyPressEvent(QKeyEvent* keyEvent) |
| 1959 | { |
nothing calls this directly
no outgoing calls
no test coverage detected