| 968 | } |
| 969 | |
| 970 | void |
| 971 | TreeCanvas::navLeft(void) { |
| 972 | QMutexLocker locker(&mutex); |
| 973 | VisualNode* p = currentNode->getParent(*na); |
| 974 | if (p != nullptr) { |
| 975 | int alt = currentNode->getAlternative(*na); |
| 976 | if (alt > 0) { |
| 977 | VisualNode* n = p->getChild(*na,alt-1); |
| 978 | setCurrentNode(n); |
| 979 | centerCurrentNode(); |
| 980 | } |
| 981 | } |
| 982 | } |
| 983 | |
| 984 | void |
| 985 | TreeCanvas::navRight(void) { |
nothing calls this directly
no test coverage detected