| 257 | } |
| 258 | |
| 259 | void MainWindowImpl::addFiles() |
| 260 | { |
| 261 | CachingSystem::clear(); |
| 262 | |
| 263 | QString path = IniSettings::latestOpenedDir(); |
| 264 | |
| 265 | QString readableFiltersString = Formats::readableFiltersString(); |
| 266 | QStringList fileNames = QFileDialog::getOpenFileNames(this, |
| 267 | tr("Open Image"), path, |
| 268 | readableFiltersString); |
| 269 | |
| 270 | if (!fileNames.isEmpty()) |
| 271 | loadFiles(fileNames); |
| 272 | } |
| 273 | |
| 274 | void MainWindowImpl::openImportDirectoryDialog() |
| 275 | { |
nothing calls this directly
no outgoing calls
no test coverage detected