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

List:       kde-commits
Subject:    Re: KDE/kdebase/kioslave/smb
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2006-05-08 15:30:36
Message-ID: 200605081730.36730.Woebbeking () onlinehome ! de
[Download RAW message or body]

On Monday 08 May 2006 16:33, Laurent Montel wrote:
> SVN commit 538655 by mlaurent:
>
> Adapt to new kdelins api
>
>
>  M  +1 -1      kio_smb_internal.cpp
>
>
> --- trunk/KDE/kdebase/kioslave/smb/kio_smb_internal.cpp
> #538654:538655 @@ -118,7 +118,7 @@
>          return m_type;
>      }
>
> -    if (path(1) == "/")
> +    if (path(KUrl::AddTrailingSlash) == "/")

This looks a bit strange. First add a / and then look if the result is 
only /. Is there something like isPathEmpty()?
[prev in list] [next in list] [prev in thread] [next in thread] 

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