| 547 | } |
| 548 | |
| 549 | void UfopaediaCategoryView::setNextTopic() |
| 550 | { |
| 551 | do |
| 552 | { |
| 553 | if (this->position_iterator == this->category->entries.end()) |
| 554 | { |
| 555 | this->position_iterator = this->category->entries.begin(); |
| 556 | } |
| 557 | else |
| 558 | { |
| 559 | this->position_iterator++; |
| 560 | } |
| 561 | // Loop until we find the end (which shows the category intro screen) |
| 562 | // or a visible entry |
| 563 | } while (this->position_iterator != this->category->entries.end() && |
| 564 | !this->position_iterator->second->isVisible()); |
| 565 | this->setFormData(); |
| 566 | return; |
| 567 | } |
| 568 | |
| 569 | void UfopaediaCategoryView::setPreviousTopic() |
| 570 | { |
nothing calls this directly
no test coverage detected