summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase/sqldatabase.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-08-09 15:50:58 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-08-09 17:45:28 (GMT)
commit127cab437b53096b18beb0cfe299137dc384060d (patch)
tree3be6a88f260c2dc7980562531083395508e3fe0e /doc/src/snippets/sqldatabase/sqldatabase.cpp
parent9a3e7c9c32167b777a090ee13082323d10895694 (diff)
downloadQt-127cab437b53096b18beb0cfe299137dc384060d.zip
Qt-127cab437b53096b18beb0cfe299137dc384060d.tar.gz
Qt-127cab437b53096b18beb0cfe299137dc384060d.tar.bz2
Make prefix handling in file engine creation more robust
... and make it exit earlier, when feasible. While we could fully validate the prefix at this level, consulting Unicode tables on each character of a file name could quickly become expensive. Furthermore, we can already reap some benefits just by checking for '/' before ':'. Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions