summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xlib/qxlibmime.h
diff options
context:
space:
mode:
authorBradley Smith <bradley@baysmith.com>2011-12-12 21:47:03 -0800
committerQt by Nokia <qt-info@nokia.com>2011-12-13 11:11:58 +0100
commit0553ab912746ece4a309d9b5b5cf1fd54630ffc2 (patch)
tree6af70f2d7d27a4d0f7e491c058894af82813d29d /src/plugins/platforms/xlib/qxlibmime.h
parentabb1c066e5203566c5987d6ba0746c2de1e66eb7 (diff)
Fix QPA xlib plugin handling of setParent(0).
Dereference of the parent argument did not check for nullptr. For example, the hellogl example would crash. Now if the parent argument is null, the screen's root window is used. Change-Id: Ib06181c9ab9794d577722f1c1dd5ee92e4edaee5 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibmime.h')
0 files changed, 0 insertions, 0 deletions