| 557 | } |
| 558 | |
| 559 | void PropertiesDialog::updateButtons() |
| 560 | { |
| 561 | if (sequentialEditing) { |
| 562 | previousButton->setDisabled(currentComicIndex == 0); |
| 563 | nextButton->setDisabled(currentComicIndex == comics.length() - 1); |
| 564 | previousButton->setHidden(false); |
| 565 | nextButton->setHidden(false); |
| 566 | } else { |
| 567 | previousButton->setHidden(true); |
| 568 | nextButton->setHidden(true); |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | void PropertiesDialog::setComics(QList<ComicDB> comics) |
| 573 | { |
nothing calls this directly
no test coverage detected