Merge pull request #2755 from Trial97/fix_java_typo
fix java 64 bit condition
This commit is contained in:
commit
cf12365358
@ -468,6 +468,7 @@ void JavaSettingsWidget::checkFinished(const JavaChecker::Result& result)
|
||||
break;
|
||||
}
|
||||
}
|
||||
updateThresholds();
|
||||
m_checker.reset();
|
||||
if (!queuedCheck.isNull()) {
|
||||
checkJavaPath(queuedCheck);
|
||||
@ -504,7 +505,7 @@ void JavaSettingsWidget::updateThresholds()
|
||||
} else if (observedMaxMemory < observedMinMemory) {
|
||||
iconName = "status-yellow";
|
||||
m_labelMaxMemIcon->setToolTip(tr("Your maximum memory allocation is smaller than the minimum value"));
|
||||
} else if (observedMaxMemory > 2048 && m_result.is_64bit) {
|
||||
} else if (observedMaxMemory > 2048 && !m_result.is_64bit) {
|
||||
iconName = "status-bad";
|
||||
m_labelMaxMemIcon->setToolTip(tr("You are exceeding the maximum allocation supported by 32-bit installations of Java."));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user