mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 12:26:58 +03:00
Sort forge versions right. Do not spam the multimc log with mc server status stuff.
This commit is contained in:
parent
d85e820a07
commit
7b96d74d3b
4 changed files with 31 additions and 13 deletions
|
|
@ -31,11 +31,11 @@ void StatusChecker::reloadStatus()
|
|||
{
|
||||
if (isLoadingStatus())
|
||||
{
|
||||
QLOG_INFO() << "Ignored request to reload status. Currently reloading already.";
|
||||
// QLOG_INFO() << "Ignored request to reload status. Currently reloading already.";
|
||||
return;
|
||||
}
|
||||
|
||||
QLOG_INFO() << "Reloading status.";
|
||||
// QLOG_INFO() << "Reloading status.";
|
||||
|
||||
NetJob* job = new NetJob("Status JSON");
|
||||
job->addNetAction(ByteArrayDownload::make(URLConstants::MOJANG_STATUS_URL));
|
||||
|
|
@ -85,7 +85,7 @@ void StatusChecker::statusDownloadFinished()
|
|||
if(value.type() == QVariant::Type::String)
|
||||
{
|
||||
m_statusEntries.insert(key, value.toString());
|
||||
QLOG_DEBUG() << "Status JSON object: " << key << m_statusEntries[key];
|
||||
//QLOG_DEBUG() << "Status JSON object: " << key << m_statusEntries[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue