[Kget] KDE/kdenetwork/kget

Lukas Appelhans l.appelhans at gmx.de
Fri Aug 1 21:59:59 CEST 2008


Am Donnerstag 31 Juli 2008 19:06:36 schrieb Lukas Appelhans:
> SVN commit 840408 by lappelhans:
>
> Add trailing slash even if the newtransferdialog is not shown
>
> CCBUG:163744
>
>
>  M  +2 -2      main.cpp
>
>
> --- trunk/KDE/kdenetwork/kget/main.cpp #840407:840408
> @@ -86,9 +86,9 @@
>          QString destUrl;
>          if (l.count() >= 2 && l.last().isLocalFile()) {
>              if (!QFileInfo(l.last().path()).isDir())
> -                destUrl = l.last().directory();
> +                destUrl = l.last().directory(KUrl::AppendTrailingSlash);
>              else
> -                destUrl = l.last().path();
> +                destUrl = l.last().path(KUrl::AddTrailingSlash);
>
>              l.removeLast();
>              KGet::addTransfer(l, destUrl, QString(), true);

Can someone backport this one? 

Lukas



More information about the Kget mailing list