Fixed wrong emits of x/y/width/height changed signals in QWindow
authorSamuel Rødal <samuel.rodal@digia.com>
Fri, 4 Jan 2013 09:06:08 +0000 (10:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 4 Jan 2013 12:20:06 +0000 (13:20 +0100)
commitbd04a3d136ed3384aa754f288201b5675a912596
tree6857b8259be85c4c647095d979a91a0b7d075ab2
parentcf2a75e41bc6715958d170d42f37fc6bb609f830
Fixed wrong emits of x/y/width/height changed signals in QWindow

We should only emit these when the corresponding property value changes.
Since these are changed asynchronously in the case of a platform window,
we should not emit them in the setter, as they are already properly
emitted in QGuiApplicationPrivate::processGeometryChangeEvent().

Change-Id: I5ac00601ddb4e7a8ff02376e5f5135d427913119
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/gui/kernel/qwindow.cpp