Deprecated
| 234 | |
| 235 | // Deprecated |
| 236 | void Viewer::prepareForOpening() |
| 237 | { |
| 238 | if (render->hasLoadedComic()) |
| 239 | save(); |
| 240 | // bd->setBookmarks(*bm); |
| 241 | |
| 242 | goToFlow->reset(); |
| 243 | |
| 244 | // render->update(); |
| 245 | |
| 246 | // Drop the previous comic's decoded/scaled pages so we never flash stale |
| 247 | // content while the new comic loads. |
| 248 | continuousPageProvider->reset(); |
| 249 | continuousWidget->invalidateScaledImageCache(); |
| 250 | |
| 251 | verticalScrollBar()->setSliderPosition(verticalScrollBar()->minimum()); |
| 252 | |
| 253 | if (Configuration::getConfiguration().getShowInformation() && !information) { |
| 254 | QTimer::singleShot(0, this, &Viewer::informationSwitch); |
| 255 | } |
| 256 | |
| 257 | informationLabel->setText("..."); |
| 258 | } |
| 259 | |
| 260 | void Viewer::open(QString pathFile, int atPage) |
| 261 | { |
nothing calls this directly
no test coverage detected