mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Qt/FIFOPlayerWindow: Make message box modal
This commit is contained in:
parent
1ba810901d
commit
326e2fb300
1 changed files with 6 additions and 1 deletions
|
@ -204,7 +204,12 @@ void FIFOPlayerWindow::SaveRecording()
|
||||||
bool result = file->Save(path.toStdString());
|
bool result = file->Save(path.toStdString());
|
||||||
|
|
||||||
if (!result)
|
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()
|
void FIFOPlayerWindow::StartRecording()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue