I was forced
/j Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
3e2733d840
commit
6da2e7d3f6
@ -272,10 +272,7 @@ void MinecraftInstance::populateLaunchMenu(QMenu* menu)
|
|||||||
profilerAction->setChecked(settings()->get("Profiler").toString() == profiler.key());
|
profilerAction->setChecked(settings()->get("Profiler").toString() == profiler.key());
|
||||||
|
|
||||||
QString error;
|
QString error;
|
||||||
if (profiler.value()->check(&error))
|
profilerAction->setEnabled(profiler.value()->check(&error));
|
||||||
profilerAction->setIcon(APPLICATION->getThemedIcon("status-good"));
|
|
||||||
else
|
|
||||||
profilerAction->setIcon(APPLICATION->getThemedIcon("status-bad"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user