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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user