directfb: Compile with C++11 support enabled
authorBradley T. Hughes <bradley.hughes@nokia.com>
Tue, 5 Jun 2012 06:18:41 +0000 (08:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 5 Jun 2012 10:30:02 +0000 (12:30 +0200)
commita6d6719c26a6d8e43250d05e2b587dbcc3e59366
tree473ffc887b689d70e8c327e8d5a6eabe41825d3d
parent67fc1b893d6bbcd135497341cfaa4ea74ffeb29b
directfb: Compile with C++11 support enabled

qdirectfbblitter.cpp:146: error: narrowing conversion of 'srcRect.x()'
from 'qreal' to 'int' inside { }
qdirectfbblitter.cpp:152: error: narrowing conversion of 'rect.x()' from
'qreal' to 'int' inside { }

The same error exists for calls to y(), width(), and height() at both
locations.

Change-Id: I14f165a6a1cab9502e157e798157b835faf2300f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/plugins/platforms/directfb/qdirectfbblitter.cpp