mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #10129 from malleoz/recording-save-playback-window
QFileDialog: differentiate between recording open/save
This commit is contained in:
commit
bb367394cf
@ -1658,8 +1658,8 @@ void MainWindow::OnImportNANDBackup()
|
|||||||
|
|
||||||
void MainWindow::OnPlayRecording()
|
void MainWindow::OnPlayRecording()
|
||||||
{
|
{
|
||||||
QString dtm_file = QFileDialog::getOpenFileName(this, tr("Select the Recording File"), QString(),
|
QString dtm_file = QFileDialog::getOpenFileName(this, tr("Select the Recording File to Play"),
|
||||||
tr("Dolphin TAS Movies (*.dtm)"));
|
QString(), tr("Dolphin TAS Movies (*.dtm)"));
|
||||||
|
|
||||||
if (dtm_file.isEmpty())
|
if (dtm_file.isEmpty())
|
||||||
return;
|
return;
|
||||||
@ -1728,8 +1728,8 @@ void MainWindow::OnStopRecording()
|
|||||||
void MainWindow::OnExportRecording()
|
void MainWindow::OnExportRecording()
|
||||||
{
|
{
|
||||||
Core::RunAsCPUThread([this] {
|
Core::RunAsCPUThread([this] {
|
||||||
QString dtm_file = QFileDialog::getSaveFileName(this, tr("Select the Recording File"),
|
QString dtm_file = QFileDialog::getSaveFileName(this, tr("Save Recording File As"), QString(),
|
||||||
QString(), tr("Dolphin TAS Movies (*.dtm)"));
|
tr("Dolphin TAS Movies (*.dtm)"));
|
||||||
if (!dtm_file.isEmpty())
|
if (!dtm_file.isEmpty())
|
||||||
Movie::SaveRecording(dtm_file.toStdString());
|
Movie::SaveRecording(dtm_file.toStdString());
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user