diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-11-22 13:28:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-23 15:46:59 +0100 |
commit | 34523bb83651ae009d28748d64697eb8ade9a639 (patch) | |
tree | 0d49db418301dad0fd226bcf62c0683d1f16a3c5 | |
parent | bc477d4dee3f22a284694b8ab45e6346dcd1ef27 (diff) |
Set more window flags to keep Windows from omitting titlebar & buttonsv5.2.0-rc1
This should not be necessary, but Windows does not treat the missing
Qt::CustomizeWindowHint the same as the other platforms do.
Task-number: QTBUG-35049
Change-Id: I81dc645dc1acf29b6ff4d5fc04f5dd3db94b0133
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r-- | src/controls/ApplicationWindow.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml index 850212faf..6e0160df2 100644 --- a/src/controls/ApplicationWindow.qml +++ b/src/controls/ApplicationWindow.qml @@ -126,6 +126,12 @@ Window { color: syspal.window + flags: Qt.Window | Qt.WindowFullscreenButtonHint | + Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMinMaxButtonsHint | + Qt.WindowCloseButtonHint | Qt.WindowFullscreenButtonHint + // QTBUG-35049: Windows is removing features we didn't ask for, even though Qt::CustomizeWindowHint is not set + // Otherwise Qt.Window | Qt.WindowFullscreenButtonHint would be enough + SystemPalette {id: syspal} Item { |