diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-08-06 14:29:17 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2014-08-06 18:41:41 +0200 |
commit | 6b8a0dabdc750052512446ee6db06d4033320d48 (patch) | |
tree | f8954ff6eb41d944a80941ea4dbf2bea281eed5b /src/src.pro | |
parent | 42a5930a75b5b05926da8895faa228da9d1e20e5 (diff) | |
download | qtquickcontrols-6b8a0dabdc750052512446ee6db06d4033320d48.tar.gz |
Fix ApplicationWindow state / content size
QML Window is not a plain QQuickWindow, but QQuickWindowQmlImpl that
does delayed visibility handling and shows the window in appropriate
state. Thus, ApplicationWindow cannot inherit QQuickWindow or it would
lose all that magic.
QQuickApplicationWindow was added in order for ApplicationWindowStyle
to be able to know whether a custom window color had been set. This
change gets rid of the QQuickWindow subclass and simply compares the
window color to white, which is the default fill color of QQuickWindow.
Change-Id: Ibd95ef0717c2db51246c6a71585e9286e61cef0b
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/src.pro')
0 files changed, 0 insertions, 0 deletions