aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-08-17 10:12:38 +0100
committerGitHub <noreply@github.com>2023-08-17 10:12:38 +0100
commit6da2e7d3f6f06916e9d92578546b5d80474aaa5f (patch)
tree2025d683ce5f000340e9e8786059826eca72a686 /launcher/minecraft
parent3e2733d840d24ce4f46b49bca0b8656d4d6e3d87 (diff)
downloadPrismLauncher-6da2e7d3f6f06916e9d92578546b5d80474aaa5f.tar.gz
PrismLauncher-6da2e7d3f6f06916e9d92578546b5d80474aaa5f.tar.bz2
PrismLauncher-6da2e7d3f6f06916e9d92578546b5d80474aaa5f.zip
I was forced
/j Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/minecraft')
-rw-r--r--launcher/minecraft/MinecraftInstance.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/launcher/minecraft/MinecraftInstance.cpp b/launcher/minecraft/MinecraftInstance.cpp
index babf9298..d930d681 100644
--- a/launcher/minecraft/MinecraftInstance.cpp
+++ b/launcher/minecraft/MinecraftInstance.cpp
@@ -272,10 +272,7 @@ void MinecraftInstance::populateLaunchMenu(QMenu* menu)
profilerAction->setChecked(settings()->get("Profiler").toString() == profiler.key());
QString error;
- if (profiler.value()->check(&error))
- profilerAction->setIcon(APPLICATION->getThemedIcon("status-good"));
- else
- profilerAction->setIcon(APPLICATION->getThemedIcon("status-bad"));
+ profilerAction->setEnabled(profiler.value()->check(&error));
}
}