| 1289 | } |
| 1290 | |
| 1291 | void 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 | |
| 1298 | void MainWindow::stateFromFile() { |
| 1299 | QString path = QFileDialog::getOpenFileName(this, tr("Select saved image to restore from"), |