diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-21 22:30:39 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-21 22:30:39 +0200 |
commit | 1d71214d4a9891f87791547575a8febc7abb9bbf (patch) | |
tree | 00a71fd4e6d56b3b3ce697e5ed1217913da4f91d | |
parent | ab5045b54cc6db3268529d011b38e545630b5114 (diff) | |
download | MultiMC-1d71214d4a9891f87791547575a8febc7abb9bbf.tar MultiMC-1d71214d4a9891f87791547575a8febc7abb9bbf.tar.gz MultiMC-1d71214d4a9891f87791547575a8febc7abb9bbf.tar.lz MultiMC-1d71214d4a9891f87791547575a8febc7abb9bbf.tar.xz MultiMC-1d71214d4a9891f87791547575a8febc7abb9bbf.zip |
NOISSUE fix build: there is no qInfo in old Qt5.
-rw-r--r-- | api/logic/InstanceImportTask.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/InstanceImportTask.cpp b/api/logic/InstanceImportTask.cpp index 8304fdd4..100ec525 100644 --- a/api/logic/InstanceImportTask.cpp +++ b/api/logic/InstanceImportTask.cpp @@ -97,7 +97,7 @@ void InstanceImportTask::extractAndTweak() setStatus(tr("Extracting modpack")); m_stagingPath = m_target->getStagedInstancePath(); QDir extractDir(m_stagingPath); - qInfo() << "Attempting to create instance from" << m_archivePath; + qDebug() << "Attempting to create instance from" << m_archivePath; m_extractFuture = QtConcurrent::run(QThreadPool::globalInstance(), MMCZip::extractDir, m_archivePath, extractDir.absolutePath()); connect(&m_extractFutureWatcher, &QFutureWatcher<QStringList>::finished, this, &InstanceImportTask::extractFinished); @@ -115,7 +115,7 @@ void InstanceImportTask::extractFinished() } QDir extractDir(m_stagingPath); - qInfo() << "Fixing permissions for extracted pack files..."; + qDebug() << "Fixing permissions for extracted pack files..."; QDirIterator it(extractDir, QDirIterator::Subdirectories); while (it.hasNext()) { @@ -150,12 +150,12 @@ void InstanceImportTask::extractFinished() const QFileInfo curseJson = findRecursive(extractDir.absolutePath(), "manifest.json"); if (instanceCfgFile.isFile()) { - qInfo() << "Pack appears to be exported from MultiMC."; + qDebug() << "Pack appears to be exported from MultiMC."; processMultiMC(instanceCfgFile); } else if (curseJson.isFile()) { - qInfo() << "Pack appears to be from Curse."; + qDebug() << "Pack appears to be from Curse."; processCurse(curseJson); } else |