| 1367 | } |
| 1368 | |
| 1369 | void MainWindow::slotExportMovie() |
| 1370 | { |
| 1371 | if (context->config.sc.recording != SharedConfig::NO_RECORDING) { |
| 1372 | QString filename = QFileDialog::getSaveFileName(this, tr("Choose a movie file"), context->config.moviefile.c_str(), tr("libTAS movie files (*.ltm)")); |
| 1373 | if (!filename.isNull()) { |
| 1374 | int ret = gameLoop->movie.saveMovie(filename.toStdString()); |
| 1375 | if (ret < 0) { |
| 1376 | QMessageBox::warning(this, "Warning", gameLoop->movie.errorString(ret)); |
| 1377 | } |
| 1378 | } |
| 1379 | } |
| 1380 | } |
| 1381 | |
| 1382 | void MainWindow::slotPauseMovie() |
| 1383 | { |
nothing calls this directly
no test coverage detected