[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Question on KUrlCompletion::allMatches()
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2009-02-15 17:52:11
Message-ID: 4998564B.5040601 () gmx ! de
[Download RAW message or body]

Christian Ehrlicher schrieb:
> Hi,
> 
> what should KUrlCompletion::allMatches() return? An encoded url or a 
> path? At least on windows it returns the path and not the url which 
> makes KUrlCompletionTest::testLocalURL() fail.
> 
ok, I found the problem:

in DirectoryListThread::run() m_prepend is not percent encoded when
m_complete_url is true. kurlcompletiontest works on linux because you
normally don't have a space in your temp path location.
I tried to add the percent encoded path but this doesn't work as 
KCompletion::allMatches() doesn't find the added paths...



Christian
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic