https://bugs.kde.org/show_bug.cgi?id=380898

--- Comment #6 from Gabriel C <nix.or....@gmail.com> ---

const QString urlStr = entry.stringValue(KIO::UDSEntry::UDS_URL); <-- always
NULL but why ?

QUrl url;
if (!urlStr.isEmpty()) {
     url = QUrl(urlStr);
}

^ handles just the case urlStr exists .. else NULL ?
....

code to handle all oder cases ...

...

info.uSource = url; <-- NULL sice strUrl = NULL

from here on stuff starts  to break ...

It is still to complicate for me to fully understand , sorry =)

The Question is why entry.stringValue(KIO::UDSEntry::UDS_URL) is alyways NULL
and also why the case urlStr.isEmpty() is not handled ..

( probably bc the code assumes entry.stringValue(KIO::UDSEntry::UDS_URL) can't
be NULL ? )

Also there are some places with entry.stringValue(KIO::UDSEntry::UDS_URL) in
kio code. 

I guess we should change the bug to KIO.. maybe David Faure has some more clue
on what is going on here.?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to