summaryrefslogtreecommitdiff
path: root/network/kmldonkey/kmldonkey-0.10.1-failed-dialog-189334.diff
blob: c983ce08a587ed115574e0de872ff159bc6e2db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur kmldonkey-0.10.1.orig/src/scripts/submit.cpp kmldonkey-0.10.1/src/scripts/submit.cpp
--- kmldonkey-0.10.1.orig/src/scripts/submit.cpp	2005-07-26 18:40:40.000000000 +0200
+++ kmldonkey-0.10.1/src/scripts/submit.cpp	2007-09-02 23:36:00.000000000 +0200
@@ -48,7 +48,7 @@
 {
     kdDebug() << "Callback cmd: " << cmd << endl;
     kdDebug() << "Callback result: " << res << endl;
-    if (res.lower() != "done" && !res.contains("parsing http url", false)) {
+    if (!res.contains("Added link", false)) {
 	/*
 	if (res.contains("force_download")) {
 	    if (KMessageBox::warningYesNo(0, i18n("Failed to submit URL %1\n\nForce download?")