| 982 | } |
| 983 | |
| 984 | void |
| 985 | TreeCanvas::navRight(void) { |
| 986 | QMutexLocker locker(&mutex); |
| 987 | VisualNode* p = currentNode->getParent(*na); |
| 988 | if (p != nullptr) { |
| 989 | unsigned int alt = currentNode->getAlternative(*na); |
| 990 | if (alt + 1 < p->getNumberOfChildren()) { |
| 991 | VisualNode* n = p->getChild(*na,alt+1); |
| 992 | setCurrentNode(n); |
| 993 | centerCurrentNode(); |
| 994 | } |
| 995 | } |
| 996 | } |
| 997 | |
| 998 | void |
| 999 | TreeCanvas::navRoot(void) { |
nothing calls this directly
no test coverage detected