Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:home:wolfi323:branches:KDE:Frameworks5
kget5
fix-metalink.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-metalink.patch of Package kget5
diff --git a/transfer-plugins/metalink/metalinkhttp.cpp b/transfer-plugins/metalink/metalinkhttp.cpp index ba0ce869..292352c9 100644 --- a/transfer-plugins/metalink/metalinkhttp.cpp +++ b/transfer-plugins/metalink/metalinkhttp.cpp @@ -151,12 +151,12 @@ void MetalinkHttp::slotSignatureVerified() m_fileModel->setData(signatureVerified, factory->signature()->status()); } if (factory->doDownload() && (factory->verifier()->status() == Verifier::NotVerified)) { - brokenFiles.append(factory->dest().toString()); + brokenFiles.append(factory->dest().toDisplayString(QUrl::PreferLocalFile)); qDebug() << "FIXME!?! brokenFiles.append(" << factory->dest().toString() << ")"; } } if (brokenFiles.count()) - { + { qDebug() << "brokenFiles:" << brokenFiles; if (KMessageBox::warningYesNoCancelList(nullptr, i18n("The download could not be verified, try to repair it?"), brokenFiles) == KMessageBox::Yes) { @@ -173,8 +173,8 @@ void MetalinkHttp::slotSignatureVerified() bool MetalinkHttp::metalinkHttpInit() { qDebug() << "m_dest = " << m_dest; - const QUrl tempDest = QUrl(m_dest.adjusted(QUrl::RemoveFilename)); + const QUrl tempDest = QUrl(m_dest.adjusted(QUrl::RemoveFilename)); // | QUrl::StripTrailingSlash)); - QUrl dest = tempDest.toString() + m_dest.fileName(); + QUrl dest = tempDest.toString() + m_dest.fileName(); // Frage: welcher der beiden Fixes ist besser? qDebug() << "dest = " << dest; //sort the urls according to their priority (highest first) diff --git a/core/datasourcefactory.cpp b/core/datasourcefactory.cpp index 62733f26..1966b93c 100644 --- a/core/datasourcefactory.cpp +++ b/core/datasourcefactory.cpp @@ -424,6 +424,7 @@ void DataSourceFactory::addMirror(const QUrl &url, bool used, int numParalellCon if (m_sources.count() < m_maxMirrorsUsed) { TransferDataSource *source = KGet::createTransferDataSource(url, QDomElement(), this); +qDebug() << "calling KGet::createTransferDataSource(" << url << ", ...)"; if (source) { qCDebug(KGET_DEBUG) << "Successfully created a TransferDataSource for " << url.toString() << this; diff --git a/transfer-plugins/checksumsearch/checksumsearchfactory.cpp b/transfer-plugins/checksumsearch/checksumsearchfactory.cpp index 8ebd04da..2d678adf 100644 --- a/transfer-plugins/checksumsearch/checksumsearchfactory.cpp +++ b/transfer-plugins/checksumsearch/checksumsearchfactory.cpp @@ -33,7 +33,7 @@ ChecksumSearchFactory::~ChecksumSearchFactory() TransferDataSource *ChecksumSearchFactory::createTransferDataSource(const QUrl &srcUrl, const QDomElement &type, QObject *parent) { - qCDebug(KGET_DEBUG); + qCDebug(KGET_DEBUG) << "ChecksumSearchFactory::createTransferDataSource()"; if (type.attribute("type") == "checksumsearch") { return new ChecksumSearchTransferDataSource(srcUrl, parent); diff --git a/transfer-plugins/mirrorsearch/mirrorsearchfactory.cpp b/transfer-plugins/mirrorsearch/mirrorsearchfactory.cpp index b8f568e3..c1ce4843 100644 --- a/transfer-plugins/mirrorsearch/mirrorsearchfactory.cpp +++ b/transfer-plugins/mirrorsearch/mirrorsearchfactory.cpp @@ -32,7 +32,7 @@ MirrorSearchFactory::~MirrorSearchFactory() TransferDataSource *MirrorSearchFactory::createTransferDataSource(const QUrl &srcUrl, const QDomElement &type, QObject *parent) { - qCDebug(KGET_DEBUG); + qCDebug(KGET_DEBUG) << "MirrorSearchFactory::createTransferDataSource()"; if (type.attribute("type") == "search") { return new MirrorSearchTransferDataSource(srcUrl, parent); diff --git a/transfer-plugins/multisegmentkio/transfermultisegkiofactory.cpp b/transfer-plugins/multisegmentkio/transfermultisegkiofactory.cpp index 25c864ab..f2dd2573 100644 --- a/transfer-plugins/multisegmentkio/transfermultisegkiofactory.cpp +++ b/transfer-plugins/multisegmentkio/transfermultisegkiofactory.cpp @@ -67,7 +67,7 @@ const QList<QAction *> TransferMultiSegKioFactory::actions(TransferHandler *hand TransferDataSource * TransferMultiSegKioFactory::createTransferDataSource(const QUrl &srcUrl, const QDomElement &type, QObject *parent) { - qCDebug(KGET_DEBUG); + qCDebug(KGET_DEBUG) << "TransferMultiSegKioFactory::createTransferDataSource()"; //only use this TransferDataSource if no type is specified and the protocolls match if (!type.attribute("type").isEmpty())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor