QDir: Do not assume that root ends with a slash
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Wed, 4 Dec 2013 12:33:25 +0000 (14:33 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 23:04:16 +0000 (00:04 +0100)
commitb5241296f8600ea3ba962c45ed8038abec5343f1
tree5fbfff292fee6f0d4d5138b0dafaadfd214f31ec
parentdebe31e047060d790fb32c06e514d9df476df8bf
QDir: Do not assume that root ends with a slash

Root can also be "//server"

Task-number: QTBUG-35402
Change-Id: I25250b7dcb10cba7b676a0c88b64a402494d7481
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qdir.cpp
tests/auto/corelib/io/qdir/tst_qdir.cpp