| 511 | } |
| 512 | |
| 513 | void MainWindow::setImagePath() { |
| 514 | QString saveImagePath = QFileDialog::getSaveFileName(this, tr("Set saved image to restore from"), |
| 515 | m_dir.absolutePath(), |
| 516 | tr("CEmu images (*.ce);;All files (*.*)")); |
| 517 | if (!saveImagePath.isEmpty()) { |
| 518 | m_dir = QFileInfo(saveImagePath).absoluteDir(); |
| 519 | m_config->setValue(SETTING_IMAGE_PATH, saveImagePath); |
| 520 | ui->pathImage->setText(saveImagePath); |
| 521 | } |
| 522 | } |
| 523 | |
| 524 | void MainWindow::setDebugPath() { |
| 525 | QString savePath = QFileDialog::getSaveFileName(this, tr("Set debugging information path"), |
nothing calls this directly
no outgoing calls
no test coverage detected