Merge pull request #7902 from spycrab/qt_modal_md5
Qt/MD5Dialog: Make dialog modal
This commit is contained in:
commit
54e09886d8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue