MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setImagePath

Method setImagePath

gui/qt/settings.cpp:513–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void 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
524void MainWindow::setDebugPath() {
525 QString savePath = QFileDialog::getSaveFileName(this, tr("Set debugging information path"),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected