mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: do not convert the element attribute to latin1 in KBookmark::url()
that will only convert it back to QString in the KUrl constructor but it will not be from UTF-8 bytes - the attribute string is converted to latin1, duh Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
74dc070da5
commit
b0d0a4ee18
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ void KBookmark::setFullText(const QString &fullText)
|
|||
|
||||
KUrl KBookmark::url() const
|
||||
{
|
||||
return KUrl(element.attribute("href").toLatin1()); // Decodes it from utf8
|
||||
return KUrl(element.attribute("href")); // Decodes it from utf8
|
||||
}
|
||||
|
||||
void KBookmark::setUrl(const KUrl &url)
|
||||
|
|
Loading…
Add table
Reference in a new issue