| 323 | } |
| 324 | |
| 325 | void MainWindowImpl::importPdfFile() |
| 326 | { |
| 327 | QString path = IniSettings::latestOpenedDir(); |
| 328 | |
| 329 | QString fileName = QFileDialog::getOpenFileName(this, |
| 330 | tr("Open Pdf file"), path, tr("Portable Document Format (*.pdf)")); |
| 331 | |
| 332 | if (!fileName.isEmpty()) |
| 333 | openMultipageFile(fileName); |
| 334 | } |
| 335 | |
| 336 | void MainWindowImpl::openMultipageFile(QString fileName) |
| 337 | { |
nothing calls this directly
no outgoing calls
no test coverage detected