summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_network_socket_qabstractsocket.cpp
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-08-27 00:31:37 (GMT)
committerBill King <bill.king@nokia.com>2009-08-27 00:31:37 (GMT)
commit40856f6e2e3b5115e8730ea86c97ed7211d4e5a3 (patch)
tree19bc8b682eb9d730dde1d91adb220f25e148106c /doc/src/snippets/code/src_network_socket_qabstractsocket.cpp
parente201ff0ff3a8223b14a72954c898674e606f147e (diff)
downloadQt-40856f6e2e3b5115e8730ea86c97ed7211d4e5a3.zip
Qt-40856f6e2e3b5115e8730ea86c97ed7211d4e5a3.tar.gz
Qt-40856f6e2e3b5115e8730ea86c97ed7211d4e5a3.tar.bz2
Fixes invalid use of statics
Multiple database connections could have differing ideas on the return value for defaultCase. The cost of the call is so minimal that caching is unnecessary, and static caching is very very wrong. Reviewed-by: Justin McPherson
Diffstat (limited to 'doc/src/snippets/code/src_network_socket_qabstractsocket.cpp')
0 files changed, 0 insertions, 0 deletions