diff options
author | David Faure <faure@kde.org> | 2009-12-28 16:56:14 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-28 16:56:14 (GMT) |
commit | 8c306f8ee137baebc312a126c4e0d27bb9150f69 (patch) | |
tree | 6e4fb9f5013a1c9fd26afdfe843251261ac41337 /doc/src/snippets/sqldatabase/sqldatabase.pro | |
parent | d0c3d9770b5c33810f12e409e2304957079a2608 (diff) | |
download | Qt-8c306f8ee137baebc312a126c4e0d27bb9150f69.zip Qt-8c306f8ee137baebc312a126c4e0d27bb9150f69.tar.gz Qt-8c306f8ee137baebc312a126c4e0d27bb9150f69.tar.bz2 |
QUrl::toEncoded() fix for the case of "password, but no username".
QUrl::setPassword() without QUrl::setUserName() is actually useful,
e.g. for kde's ldap:// slave. QUrl::toString() already handled this correctly,
but QUrl::toEncoded() would forget the password in such a case.
Autotest added.
Merge-request: 2276
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions