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

List:       kde-commits
Subject:    KDE/kdenetwork/kget/transfer-plugins/bittorrent
From:       Matthias Fuchs <mat69 () gmx ! net>
Date:       2011-10-09 16:24:44
Message-ID: 20111009162444.36ADDAC889 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1258051 by mfuchs:

More general approach in accepting files as torrents.

E.g. downloads.php?id=something.torrent is also accepted
now.

 M  +1 -1      bttransferfactory.cpp  


--- trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent/bttransferfactory.cpp #1258050:1258051
@@ -112,5 +112,5 @@
 
 bool BTTransferFactory::isSupported(const KUrl &url) const
 {
-    return url.fileName().endsWith(QLatin1String(".torrent"));
+    return url.url().endsWith(QLatin1String(".torrent"));
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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