Qt6: splitRef -> split

This commit is contained in:
tobtoht 2022-05-24 17:30:49 +02:00
parent d6f7255e3e
commit 46d2228541
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -32,7 +32,7 @@ QByteArray Updater::getHash(const void *data, size_t size) const
QByteArray Updater::parseShasumOutput(const QString &message, const QString &filename) const
{
for (const auto &line : message.splitRef("\n"))
for (const auto &line : message.split("\n"))
{
const auto trimmed = line.trimmed();
if (trimmed.endsWith(filename))