summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidplatformfontdatabase.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-07-31 09:04:07 +0300
committerMarc Mutz <marc.mutz@kdab.com>2016-07-31 14:22:29 +0000
commitb55221cf50dde1c71d0a63380f63475f90c79a0b (patch)
tree7b36ef94c15480c8b81736a14f7e5739b30663f1 /src/plugins/platforms/android/qandroidplatformfontdatabase.cpp
parent4ac28eda8edaff06ee7cb310108bfb9d9f1984ff (diff)
Fix UB (invalid enum value) in tst_QTreeView
As reported by UBSan: tst_qtreeview.cpp:663:5: runtime error: load of value 4294967295, which is not a valid value for type 'DragDropMode' Instead of abusing -1 to indicate to not set the dragDropMode, use a separate boolean field in tha data. Change-Id: I13e7539c858f3b2462d57d660062ef3cb7aec61b Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions