|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
#include "kpackage.h"
|
|
|
|
|
#include "managementWidget.h"
|
|
|
|
|
#include "pkgOptions.h"
|
|
|
|
|
#include "kio.h"
|
|
|
|
|
#include "tdeio.h"
|
|
|
|
|
#include "findf.h"
|
|
|
|
|
#include "search.h"
|
|
|
|
|
#include "options.h"
|
|
|
|
@ -643,12 +643,12 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
|
|
|
|
|
} else {
|
|
|
|
|
save_url = url;
|
|
|
|
|
|
|
|
|
|
setStatus(i18n("Starting KIO"));
|
|
|
|
|
setStatus(i18n("Starting TDEIO"));
|
|
|
|
|
|
|
|
|
|
Kio kio;
|
|
|
|
|
|
|
|
|
|
if (kio.download(url, cf)) {
|
|
|
|
|
setStatus(i18n("KIO finished"));
|
|
|
|
|
setStatus(i18n("TDEIO finished"));
|
|
|
|
|
TQFileInfo fi(cf);
|
|
|
|
|
if (!(fi.exists() && fi.size() > 0)) {
|
|
|
|
|
unlink(TQFile::encodeName(cf));
|
|
|
|
@ -660,7 +660,7 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
|
|
|
|
|
return cf;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
setStatus(i18n("KIO failed"));
|
|
|
|
|
setStatus(i18n("TDEIO failed"));
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|