diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-04-01 03:50:28 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-04-01 03:50:28 +0200 |
commit | 7246d8a77906d421de4eada95d90843b1b94326b (patch) | |
tree | a3e0132e546b11c1bd72fdf691346760686cba69 /api/logic/minecraft/Library.cpp | |
parent | fbe9d158754bcdd12aa8889639bdbac4c125f1c9 (diff) | |
download | PrismLauncher-7246d8a77906d421de4eada95d90843b1b94326b.tar.gz PrismLauncher-7246d8a77906d421de4eada95d90843b1b94326b.tar.bz2 PrismLauncher-7246d8a77906d421de4eada95d90843b1b94326b.zip |
NOISSUE improve GradleSpecifier and handle broken library names
Diffstat (limited to 'api/logic/minecraft/Library.cpp')
-rw-r--r-- | api/logic/minecraft/Library.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/minecraft/Library.cpp b/api/logic/minecraft/Library.cpp index b3c7657c..f2293679 100644 --- a/api/logic/minecraft/Library.cpp +++ b/api/logic/minecraft/Library.cpp @@ -94,13 +94,13 @@ QList< std::shared_ptr< NetAction > > Library::getDownloads( auto rawSha1 = QByteArray::fromHex(sha1.toLatin1()); auto dl = Net::Download::makeCached(url, entry, options); dl->addValidator(new Net::ChecksumValidator(QCryptographicHash::Sha1, rawSha1)); - qDebug() << "Checksummed Download for:" << rawName() << "storage:" << storage << "url:" << url; + qDebug() << "Checksummed Download for:" << rawName().serialize() << "storage:" << storage << "url:" << url; out.append(dl); } else { out.append(Net::Download::makeCached(url, entry, options)); - qDebug() << "Download for:" << rawName() << "storage:" << storage << "url:" << url; + qDebug() << "Download for:" << rawName().serialize() << "storage:" << storage << "url:" << url; } return true; }; @@ -145,7 +145,7 @@ QList< std::shared_ptr< NetAction > > Library::getDownloads( } else { - qDebug() << "Ignoring native library" << m_name << "because it has no classifier for current OS"; + qDebug() << "Ignoring native library" << m_name.serialize() << "because it has no classifier for current OS"; } } else @@ -157,7 +157,7 @@ QList< std::shared_ptr< NetAction > > Library::getDownloads( } else { - qDebug() << "Ignoring java library" << m_name << "because it has no artifact"; + qDebug() << "Ignoring java library" << m_name.serialize() << "because it has no artifact"; } } } |