Revision 9fbd6de...

Go back to digest for 26th June 2011

Bug Fixes in KDE Base

David Faure committed changes in [kdelibs] /:

Fix null/empty confusion in KUrl::htmlRef() and its unittests.

Patch by Andrea Iacovitti, who wrote:

This aims to be a fix for bug #276204 related to htmlRef(), and the kurl unit
test that return a false positive because of QCOMPARE treating QString("") == QString()
After fixing the unit test related to url reference stuff, 2 of them failed.
One related to htmlRef() (as in #276204),
the other related to setRef() not able to set Empty (but not Null) ref.
-> fixed setRef() too.

File Changes

Modified 3 files
  •   kdecore/io/kurl.cpp
  •   kdecore/tests/kurltest.cpp
  •   kdecore/tests/kurltest.h
3 files changed in total