A few thoughts about KUrl
    Ralf Habacker 
    ralf.habacker at freenet.de
       
    Fri Dec 22 12:36:55 GMT 2006
    
    
  
Jarosław Staniek schrieb:
> On win32 for your semantic, unless you use:
>
> [1] KUrl("file:///c:/foo/bar").cd("/"))
>
> ..simple calls like cd("/") can return any local or network drive.
> I encountered hard to hunt bugs related to this...
To be platform independent QDir::rootPath() should be used in KDE code 
instead oif "/". There are already some occurrences replaced.
    
    
More information about the kde-core-devel
mailing list