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
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue