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

Method stateFromPath

gui/qt/mainwindow.cpp:1291–1296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1289}
1290
1291void MainWindow::stateFromPath(const QString &path) {
1292 QString prev = m_pathImage;
1293 m_pathImage = appDir().absoluteFilePath(path);
1294 emuLoad(EMU_DATA_IMAGE);
1295 m_pathImage = prev;
1296}
1297
1298void MainWindow::stateFromFile() {
1299 QString path = QFileDialog::getOpenFileName(this, tr("Select saved image to restore from"),

Callers

nothing calls this directly

Calls 1

appDirFunction · 0.85

Tested by

no test coverage detected