QNX: Fix flushing the backing store to non-owner windows
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Wed, 11 Jul 2012 14:41:32 +0000 (16:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 07:55:18 +0000 (09:55 +0200)
commit0f49ebb4c21007f62055c3390fe925a7d4d6b34c
tree508a8e8b4f9aa001984404be91011f5c1ae74be8
parent11dc9ca32426cb6879022b588c5aacf3f63c0366
QNX: Fix flushing the backing store to non-owner windows

Multiple windows can share the same backing store, which we did not
take into account. Don't ignore the window parameter in flush() to fix
that.

Change-Id: I4f98bba34d4da9134163e478cb78cab4ca0358d2
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp
src/plugins/platforms/qnx/qqnxrasterbackingstore.h
src/plugins/platforms/qnx/qqnxwindow.cpp
src/plugins/platforms/qnx/qqnxwindow.h