Skip to content
Permalink
Browse files

Qt/FIFOPlayerWindow: Make message box modal

  • Loading branch information...
spycrab committed Mar 3, 2019
1 parent 1ba8109 commit 326e2fb300174ebaa20d8eb09690f1daffb9d42a
Showing with 6 additions and 1 deletion.
  1. +6 −1 Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
@@ -204,7 +204,12 @@ void FIFOPlayerWindow::SaveRecording()
bool result = file->Save(path.toStdString());

if (!result)
QMessageBox::critical(this, tr("Error"), tr("Failed to save FIFO log."));
{
QMessageBox msg(QMessageBox::Critical, tr("Error"), tr("Failed to save FIFO log."),
QMessageBox::Ok, this);
msg.setWindowModality(Qt::WindowModal);
msg.exec();
}
}

void FIFOPlayerWindow::StartRecording()

0 comments on commit 326e2fb

Please sign in to comment.
You can’t perform that action at this time.