2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 18:27:41 +00:00

Work on URDE version detection and downloading

This commit is contained in:
Jack Andersen
2017-12-26 14:48:34 -10:00
parent d3223f0db4
commit a686debdcf
14 changed files with 275 additions and 142 deletions

View File

@@ -84,14 +84,12 @@ void DownloadManager::indexFinished()
QStringList files;
while (true)
while (!m_indexInProgress->atEnd())
{
if (m_indexInProgress->atEnd())
break;
QByteArray line = m_indexInProgress->readLine();
QString line = QString::fromUtf8(m_indexInProgress->readLine()).trimmed();
if (line.isEmpty())
continue;
files.push_back(QString::fromUtf8(line).trimmed());
files.push_back(line);
}
if (m_indexCompletionHandler)