path: root/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
diff options
authorHolger Hans Peter Freyther <>2012-01-23 12:11:42 +0100
committerQt by Nokia <>2012-01-23 12:52:27 +0100
commit43696a9e4230ae1952fa9d8d6ef400d7df0f1c6e (patch)
treef09f84b296c413ea0080c4223f67d5813611b4df /src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
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 <> Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h')
0 files changed, 0 insertions, 0 deletions