| 1169 | } |
| 1170 | |
| 1171 | void MainWindow::openFileDialog() |
| 1172 | { |
| 1173 | const QString filter = app->getFileDialogFilter(); |
| 1174 | |
| 1175 | QStringList fileNames = FileDialogHelpers::getOpenFileNames(this, QString(), defaultDirectoryManager->getDefaultDirectory(), filter); |
| 1176 | |
| 1177 | if (!fileNames.empty()) |
| 1178 | emit fileDialogAccepted(fileNames.last()); |
| 1179 | |
| 1180 | openFileList(fileNames); |
| 1181 | } |
| 1182 | |
| 1183 | void MainWindow::openFile(const QString &filePath) |
| 1184 | { |
nothing calls this directly
no test coverage detected