From c4036d2d6a2cd147cc9a632d653d9dcd47e97625 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sat, 16 Mar 2019 18:53:23 +0100 Subject: [PATCH] Qt/MD5Dialog: Make dialog modal --- Source/Core/DolphinQt/NetPlay/MD5Dialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/NetPlay/MD5Dialog.cpp b/Source/Core/DolphinQt/NetPlay/MD5Dialog.cpp index 05094f089f..1d0c15eecf 100644 --- a/Source/Core/DolphinQt/NetPlay/MD5Dialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/MD5Dialog.cpp @@ -42,7 +42,8 @@ MD5Dialog::MD5Dialog(QWidget* parent) : QDialog(parent) CreateWidgets(); ConnectWidgets(); setWindowTitle(tr("MD5 Checksum")); - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); + setWindowFlags(Qt::Sheet | Qt::Dialog); + setWindowModality(Qt::WindowModal); } void MD5Dialog::CreateWidgets()