summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-03-03 16:26:23 +0100
committerspycrab <spycrab@users.noreply.github.com>2019-03-03 16:26:23 +0100
commit326e2fb300174ebaa20d8eb09690f1daffb9d42a (patch)
treea6cb6287a3cb64ee1c98ed24fec448ce6ac1d364 /Source
parent1ba810901da92b23d90f7f3ada42c58b7349fb11 (diff)
Qt/FIFOPlayerWindow: Make message box modal
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp7
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()