Qt/MD5Dialog: Make dialog modal

This commit is contained in:
spycrab 2019-03-16 18:53:23 +01:00
parent 7acefe8a28
commit c4036d2d6a

View File

@ -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()