summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-03-03 17:07:45 +0100
committerGitHub <noreply@github.com>2019-03-03 17:07:45 +0100
commit8f06ab02ea9108c2045609f46477862bf4e00895 (patch)
treea09ec50432f3a33576b4e75c173c15b412731a30 /Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
parent2a3c0753303a9f4cd79a92cd94b6a22298b516d6 (diff)
parent0d203cf0bb6e192bc786f5780f2b0468404c529b (diff)
Merge pull request #7847 from spycrab/qt_modal_more
Qt: Make a lot of message boxes modal
Diffstat (limited to 'Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp')
-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()