diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-28 15:37:52 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-26 07:59:12 (GMT) |
commit | bf2e248b783c2f7cb614ab1a422df75041281e3f (patch) | |
tree | 19c9fac2824e6f2c4204e8cc18c459cc5be46d77 /doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp | |
parent | 0c9e6addd234414e4530d2fe2cb6189ac7c8d2f0 (diff) | |
download | Qt-bf2e248b783c2f7cb614ab1a422df75041281e3f.zip Qt-bf2e248b783c2f7cb614ab1a422df75041281e3f.tar.gz Qt-bf2e248b783c2f7cb614ab1a422df75041281e3f.tar.bz2 |
fix double slash prepending causing troubles on WinCE
Before adding a / to the path one should check if it doesn't end with
one already. Otherwise one might get paths like //My Documents on
WinCE causing the native call to crash the filesystem service on that
system.
Reviewed-by: alexis
(cherry picked from commit 5839b16a73c36ff7636c13f841d26e6a5e0c5435)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp')
0 files changed, 0 insertions, 0 deletions