summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_qt3support_sql_q3databrowser.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-31 17:47:52 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-01 13:07:59 (GMT)
commitdab3121d59b202eac72a0b7d0fa101532ac080cd (patch)
treeb5b0d033d7eabd708d215b0a0cb555e9cd489b82 /doc/src/snippets/code/src_qt3support_sql_q3databrowser.cpp
parent0081d328394dea7ddcf7411ece678973a86781c9 (diff)
downloadQt-dab3121d59b202eac72a0b7d0fa101532ac080cd.zip
Qt-dab3121d59b202eac72a0b7d0fa101532ac080cd.tar.gz
Qt-dab3121d59b202eac72a0b7d0fa101532ac080cd.tar.bz2
fix setRawData()
setRawData() itself (consistently with fromRawData()) sets alloc to the passed raw size, so the check at the start would always find that we cannot re-use the qstring object, thus completely defeating the purpose of the function. so also check that the string data pointer actually points into the internal array before giving up. Reviewed-by: olivier
Diffstat (limited to 'doc/src/snippets/code/src_qt3support_sql_q3databrowser.cpp')
0 files changed, 0 insertions, 0 deletions