diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp index 3e98c813f0f0..aa0a519c2626 100644 --- a/Source/Core/DolphinQt/ConvertDialog.cpp +++ b/Source/Core/DolphinQt/ConvertDialog.cpp @@ -12,7 +12,6 @@ #include #include -#include #include #include #include @@ -329,7 +328,8 @@ void ConvertDialog::Convert() if (!blob_reader) { - QErrorMessage(this).showMessage( + ModalMessageBox::critical( + this, tr("Error"), tr("Failed to open the input file \"%1\".").arg(QString::fromStdString(original_path))); return; } @@ -362,7 +362,8 @@ void ConvertDialog::Convert() progress_dialog.GetRaw()->exec(); if (!good.get()) { - QErrorMessage(this).showMessage(tr("Dolphin failed to complete the requested action.")); + ModalMessageBox::critical(this, tr("Error"), + tr("Dolphin failed to complete the requested action.")); return; } }