kftpgrabber-0.6-beta1-patch
diff -urN kftpgrabber-0.6.0-beta1/src/kftpqueueconverter.cpp kftpgrabber-0.6.0-beta1.orig/src/kftpqueueconverter.cpp--- kftpgrabber-0.6.0-beta1/src/kftpqueueconverter.cpp2005-04-28 19:47:16.000000000 +0800
+++ kftpgrabber-0.6.0-beta1.orig/src/kftpqueueconverter.cpp 2005-04-08 13:43:16.000000000 +0800
@@ -109,7 +109,7 @@
parent.appendChild(item);
// Create text nodes
-createTextNode("source", QString::fromLocal8Bit(transfer->getSourceUrl().htmlURL().local8Bit()), item);
+createTextNode("source", QString::fromLocal8Bit(transfer->getSourceUrl().url().local8Bit()), item);
createTextNode("dest", transfer->getDestUrl().url(), item);
createTextNode("size", QString::number(transfer->getSize()), item);
createTextNode("type", transfer->isDir() ? "directory" : "file", item);
diff -urN kftpgrabber-0.6.0-beta1/src/kftpqueue.cpp kftpgrabber-0.6.0-beta1.orig/src/kftpqueue.cpp
--- kftpgrabber-0.6.0-beta1/src/kftpqueue.cpp 2005-04-28 19:52:03.000000000 +0800
+++ kftpgrabber-0.6.0-beta1.orig/src/kftpqueue.cpp 2005-04-02 17:31:26.000000000 +0800
@@ -479,9 +479,8 @@
}
// Execute the transfer if set in configuration
-if (!FTPConfig().m_queueOnDND && lastTransfer)
-// lastTransfer->delayedExecute(100);
- startQueueTransfer();
+if (!FTPConfig().m_queueOnDND && p_urls.count() == 1 && lastTransfer)
+ lastTransfer->delayedExecute(100);
}
int KFTPQueueManager::fileExistsDialog(KFTPQueue::TransferFile *transfer, const QString &local, FTPEntry remote, bool reversed)
diff -urN kftpgrabber-0.6.0-beta1/src/widgets/kftpquickconnectdialog.cpp kftpgrabber-0.6.0-beta1.orig/src/widgets/kftpquickconnectdialog.cpp
--- kftpgrabber-0.6.0-beta1/src/widgets/kftpquickconnectdialog.cpp 2005-04-28 19:52:03.000000000 +0800
+++ kftpgrabber-0.6.0-beta1.orig/src/widgets/kftpquickconnectdialog.cpp 2005-04-01 02:51:32.000000000 +0800
@@ -197,7 +197,7 @@
if (m_noUrlChange) return;
m_noUrlChange = true;
-m_curUrl.setPass(m_layout->passwordBox->text());
+m_curUrl.setPass(m_layout->passwordBox->password());
m_layout->urlBox->setURL(m_curUrl);
m_noUrlChange = false;
}
// Execute the transfer if set in configuration
-if (!FTPConfig().m_queueOnDND && lastTransfer)
-// lastTransfer->delayedExecute(100);
- startQueueTransfer();
+if (!FTPConfig().m_queueOnDND && p_urls.count() == 1 && lastTransfer)
+ lastTransfer->delayedExecute(100);
}
这一块儿我认为有问题。其设定是一次只能拖一个文件,当拖多个时其不会自动下载。用我补丁里的可以。 KanKer难道你没有发现我吧diff的参数顺序搞乱了?
'+’和'-',不过官方已经接受了,咱们也不用费心了,还有就是下载队列的那处补丁又完善了一下原来的是没有密码的。 呵呵。不好意思,没仔细看:oops:
页:
[1]