Merge pull request #7902 from spycrab/qt_modal_md5

Qt/MD5Dialog: Make dialog modal
This commit is contained in:
spycrab 2019-03-17 02:41:14 +01:00 committed by GitHub
commit 54e09886d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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