NOISSUE more logging

This commit is contained in:
Petr Mrázek 2015-05-06 22:16:52 +02:00
parent 2a4647125d
commit 757b4e260b

View File

@ -104,12 +104,14 @@ void OneSixUpdate::assetIndexStart()
connect(jarlibDownloadJob.get(), SIGNAL(progress(qint64, qint64)), connect(jarlibDownloadJob.get(), SIGNAL(progress(qint64, qint64)),
SIGNAL(progress(qint64, qint64))); SIGNAL(progress(qint64, qint64)));
qDebug() << m_inst->name() << ": Starting asset index download";
jarlibDownloadJob->start(); jarlibDownloadJob->start();
} }
void OneSixUpdate::assetIndexFinished() void OneSixUpdate::assetIndexFinished()
{ {
AssetsIndex index; AssetsIndex index;
qDebug() << m_inst->name() << ": Finished asset index download";
OneSixInstance *inst = (OneSixInstance *)m_inst; OneSixInstance *inst = (OneSixInstance *)m_inst;
std::shared_ptr<MinecraftProfile> version = inst->getMinecraftProfile(); std::shared_ptr<MinecraftProfile> version = inst->getMinecraftProfile();
@ -157,6 +159,7 @@ void OneSixUpdate::assetIndexFinished()
void OneSixUpdate::assetIndexFailed(QString reason) void OneSixUpdate::assetIndexFailed(QString reason)
{ {
qDebug() << m_inst->name() << ": Failed asset index download";
emitFailed(tr("Failed to download the assets index:\n%1").arg(reason)); emitFailed(tr("Failed to download the assets index:\n%1").arg(reason));
} }