diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-03-03 16:26:23 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2019-03-03 16:26:23 +0100 |
| commit | 326e2fb300174ebaa20d8eb09690f1daffb9d42a (patch) | |
| tree | a6cb6287a3cb64ee1c98ed24fec448ce6ac1d364 /Source | |
| parent | 1ba810901da92b23d90f7f3ada42c58b7349fb11 (diff) | |
Qt/FIFOPlayerWindow: Make message box modal
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp index dec1c34be4..9f4d8e281c 100644 --- a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp +++ b/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() |
