aboutsummaryrefslogtreecommitdiff
path: root/launcher/java
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-06-07 22:40:36 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-06-07 22:45:21 +0100
commit1191c33c2b40d3fdb4ee66871f8cac4eb8aaf77d (patch)
tree6546e9cb6143abfe50d4a8eaef9fa1930636fb11 /launcher/java
parent52054469cd351002143b30d5bb1d8160cdf4b085 (diff)
downloadPrismLauncher-1191c33c2b40d3fdb4ee66871f8cac4eb8aaf77d.tar.gz
PrismLauncher-1191c33c2b40d3fdb4ee66871f8cac4eb8aaf77d.tar.bz2
PrismLauncher-1191c33c2b40d3fdb4ee66871f8cac4eb8aaf77d.zip
Remove flawed implementation
This seems to add the latest icon (bug) as a fallback if not provided... but it mainly seems to cause problems... :shrug: I swear I did `git add .`. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/java')
-rw-r--r--launcher/java/JavaInstallList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/java/JavaInstallList.cpp b/launcher/java/JavaInstallList.cpp
index 9277203a..04eb2e0f 100644
--- a/launcher/java/JavaInstallList.cpp
+++ b/launcher/java/JavaInstallList.cpp
@@ -119,7 +119,7 @@ QVariant JavaInstallList::data(const QModelIndex &index, int role) const
BaseVersionList::RoleList JavaInstallList::providesRoles() const
{
- return {VersionPointerRole, VersionIdRole, VersionRole, RecommendedRole, LatestRole, PathRole, ArchitectureRole};
+ return {VersionPointerRole, VersionIdRole, VersionRole, RecommendedRole, PathRole, ArchitectureRole};
}