QNX: Move buffer count check to appropriate location
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Thu, 29 Nov 2012 18:42:11 +0000 (16:42 -0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 1 Dec 2012 07:28:25 +0000 (08:28 +0100)
commit1b95d3331cb43fda36f92189ddce4e4c45bd47ea
treeb5b2a7784d7770cad4a4a874b4ab005a3c7aaecc
parent3492a809599ff704476e029670fb685936fcddec
QNX: Move buffer count check to appropriate location

The buffer count check should take place right after buffers are created. For
some reason, the buffer count value inside libscreen may become incosistent during
the course of the program.

Change-Id: Icbbaf4734eac5b0c5c95bdd93771899f9fcdb7db
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
src/plugins/platforms/qnx/qqnxwindow.cpp