summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp
diff options
context:
space:
mode:
authorHonglei Zhang <honglei.zhang@nokia.com>2012-03-07 18:54:58 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-30 19:51:43 +0200
commit06001ce0085c5fd47bbcc3c7ab151f7c0ac2f0ed (patch)
treeb1f2949df1825048a247ed3f91a994a188eb3dc2 /src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp
parentfa9cf676159e8d9876c8532dc4e90f4bf5d9a47b (diff)
Fix crash when an invalid filter is set
QSqlTableModel::headerData() generates a crash if an invalid filter is set. QSqlQueryModel::indexInQuery() should check the index value before applied to d->colOffsets[]. QSqlQueryModel::initRecordAndPrimaryIndex() is updated to sync the size of rec and colOffsets. Task-number: QTBUG-23879 Change-Id: Ic9f88bb288592aa6fb3c1415cc818632dadaab56 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp')
0 files changed, 0 insertions, 0 deletions