mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Qt: Use ModalMessageBox everywhere
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
#include <QGroupBox>
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
#include <QSpinBox>
|
||||
#include <QTabWidget>
|
||||
@ -25,6 +24,7 @@
|
||||
#include "Core/FifoPlayer/FifoRecorder.h"
|
||||
|
||||
#include "DolphinQt/FIFO/FIFOAnalyzer.h"
|
||||
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
||||
#include "DolphinQt/QtUtils/QueueOnObject.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
@ -205,10 +205,7 @@ void FIFOPlayerWindow::SaveRecording()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
QMessageBox msg(QMessageBox::Critical, tr("Error"), tr("Failed to save FIFO log."),
|
||||
QMessageBox::Ok, this);
|
||||
msg.setWindowModality(Qt::WindowModal);
|
||||
msg.exec();
|
||||
ModalMessageBox::critical(this, tr("Error"), tr("Failed to save FIFO log."));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user