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

List:       kde-commits
Subject:    playground/ioslaves/kio_magnet
From:       Christian Weilbach <christian () whiletaker ! homeip ! net>
Date:       2010-09-15 14:15:28
Message-ID: 20100915141528.C45C9AC871 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1175667 by weilbach:

Allow multiple seperate kio_torrents per process (10 for now).


 M  +1 -1      ktorrentdbusinterface.cpp  
 M  +1 -1      magnet.protocol  


--- trunk/playground/ioslaves/kio_magnet/ktorrentdbusinterface.cpp #1175666:1175667
@@ -242,7 +242,7 @@
             break;
         KTorrentTorrentInterface* torrentInt = new \
org::ktorrent::torrent("org.ktorrent.ktorrent", "/torrent/"+(*it),  \
                QDBusConnection::sessionBus());
-        if (!torrentInt->isValid() || // remove finished/broken torrents
+        if (!torrentInt->isValid() || // remove finished/broken torrents TODO do not \
                break other running torrents
                 (torrentInt->bytesLeft()==0 && \
torrentInt->shareRatio()>=MagnetSettings::maxShareRatio())) {  QStringList mt = \
MagnetSettings::managedTorrents();  mt.removeAll((*it));
--- trunk/playground/ioslaves/kio_magnet/magnet.protocol #1175666:1175667
@@ -13,6 +13,6 @@
 moving=false
 Icon=folder-remote
 #maxInstancesPerHost=2
-#maxInstances=10
+maxInstances=10
 #X-DocPath=kioslave/magnet/index.html
 Class=:internet


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

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