fix double slash prepending causing troubles on WinCE
commitbf2e248b783c2f7cb614ab1a422df75041281e3f
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>
Tue, 28 Apr 2009 15:37:52 +0000 (28 17:37 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Tue, 26 May 2009 07:59:12 +0000 (26 17:59 +1000)
tree19c9fac2824e6f2c4204e8cc18c459cc5be46d77
parent0c9e6addd234414e4530d2fe2cb6189ac7c8d2f0
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)
src/gui/dialogs/qfilesystemmodel_p.h