summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-01-23 12:11:42 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-23 12:52:27 +0100
commit43696a9e4230ae1952fa9d8d6ef400d7df0f1c6e (patch)
treef09f84b296c413ea0080c4223f67d5813611b4df /src/corelib/animation
parentcdb61839f4a1c139a736032b7a08fcd504234095 (diff)
directfb: Deal with Qt trying to create a QSize(0, 0) platfom window
Qt will attempt to create a platform window with the above size and DirectFB will fail to create the window. Make sure the width/height is at least 1 before handing it to DirectFB. According to Samuel it is legitimate to create a QPlatformWindow with QSize(0, 0) and it is the job of the platform plugin to make it work. Follow the approach of the XCB plugin and increase the size. Change-Id: Ifc92780b46f1a73123945988d06bd21a3deb6bb0 Reviewed-by: Jonas Gastal <jgastal@profusion.mobi> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/corelib/animation')
0 files changed, 0 insertions, 0 deletions