diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-10-22 13:44:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-09 13:33:19 +0100 |
commit | fdcde738e585ea0e9912215901e36590ebba7fdf (patch) | |
tree | 951d7e27b9449cf906368ecf43265cf866f2a1f2 /src | |
parent | e35c6a788a887d7a85a836041e7d8e9a5ee48c46 (diff) |
Examples and fixes for QML Window properties
Setting Window.color in QML takes effect immediately.
It was only possible to set the property at startup.
Examples demonstrate new Window property features.
Change-Id: Ic5b43d0d84371f3fe5c42223ccc98e6de27aed10
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 890474a415..b341c6b7df 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -2776,6 +2776,7 @@ void QQuickWindow::setColor(const QColor &color) d->clearColor = color; emit colorChanged(color); + d->dirtyItem(contentItem()); } QColor QQuickWindow::color() const |