tst_qmdisubwindow: WindowCloseButtonHint is a standard window flag, too
Implemented that way in src/widgets/widgets/qmdisubwindow.cpp:2081. Change-Id: I82fdf0c04f1655a130c5e6a6f1e23d325d546ab3 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
ce761f45fe
commit
9ac20dc44c
@ -146,7 +146,7 @@ static void sendMouseDoubleClick(QWidget *widget, const QPoint &point, Qt::Mouse
|
||||
}
|
||||
|
||||
static const Qt::WindowFlags StandardWindowFlags
|
||||
= Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint;
|
||||
= Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint;
|
||||
static const Qt::WindowFlags DialogWindowFlags
|
||||
= Qt::WindowTitleHint | Qt::WindowSystemMenuHint;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user