summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase/sqldatabase.pro
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-03-18 11:30:35 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-03-18 11:57:28 (GMT)
commit0679abb6b4f85878cb64fce2089ba926e3b9400c (patch)
tree91809edccdaf14e9f4f55dfcc02e2aad953616a4 /doc/src/snippets/sqldatabase/sqldatabase.pro
parentb35009bab4d4353aa82830f4f7f8c29700b2bd08 (diff)
downloadQt-0679abb6b4f85878cb64fce2089ba926e3b9400c.zip
Qt-0679abb6b4f85878cb64fce2089ba926e3b9400c.tar.gz
Qt-0679abb6b4f85878cb64fce2089ba926e3b9400c.tar.bz2
handle errors in QSymbianHostResolver::requestHostLookup
It was hanging because although the error flags were set, the callback was not emitted and nothing was done with the return value from the function. Now, it sets the state to error, and self completes - so that the completion through RunL is used as normal. Because the state is error, the processing of name/address is skipped and the error string is not rewritten. Note, error being detected at this point is only common when using an explicit network session (as RHostResolver::Open can fail if the RConnection is in the wrong state) Reviewed-by: Markus Goetz
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions