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

Method stateFromFile

gui/qt/mainwindow.cpp:1298–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296}
1297
1298void MainWindow::stateFromFile() {
1299 QString path = QFileDialog::getOpenFileName(this, tr("Select saved image to restore from"),
1300 m_dir.absolutePath(),
1301 tr("CEmu images (*.ce);;All files (*.*)"));
1302 if (!path.isEmpty()) {
1303 m_dir = QFileInfo(path).absoluteDir();
1304 stateFromPath(path);
1305 }
1306}
1307
1308void MainWindow::stateToFile() {
1309 QString path = QFileDialog::getSaveFileName(this, tr("Set image to save to"),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected