diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-10-03 10:16:22 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-03 11:55:32 +0200 |
commit | 598d37a2f03db618e18a0f9ea320cea8405d83c0 (patch) | |
tree | f4042e80fb31b20c2ac85ef95a57c3590eafdfb1 /src/plugins/platforms/wayland/gl_integration/xcomposite_glx/qwaylandxcompositeglxintegration.cpp | |
parent | 677cf76340f88e0fe51c1f75aa512b6d835414ca (diff) |
qpixmap: Use the primaryScreen for QPixmap::defaultDepth
Currently tst_QPixmap::testMetrics can fail if the native
display resolution is below 32 bpp. Upate the documentation,
use the primary screen to find the depth.
Tested-on: XCB and directFB plugin.
Change-Id: I29c08db25d8f6bcee01f9315ed90685fef668e0c
Merge-request: 61
Reviewed-on: http://codereview.qt-project.org/5917
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/gl_integration/xcomposite_glx/qwaylandxcompositeglxintegration.cpp')
0 files changed, 0 insertions, 0 deletions