#4187 Make WindowCloseButtonHint part of the default dialog flags

* Dialogs on the Qt5 build has the close button disabled and this fixes that.
This commit is contained in:
Gaute Lindkvist
2019-03-08 10:23:18 +01:00
parent e00f983360
commit b22ca46dc5
2 changed files with 8 additions and 9 deletions

View File

@@ -23,7 +23,7 @@
//--------------------------------------------------------------------------------------------------
Qt::WindowFlags RiuTools::defaultDialogFlags()
{
Qt::WindowFlags f = Qt::WindowTitleHint | Qt::WindowSystemMenuHint;
Qt::WindowFlags f = Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint;
return f;
}