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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateThresholds();
|
||||||
m_checker.reset();
|
m_checker.reset();
|
||||||
if (!queuedCheck.isNull()) {
|
if (!queuedCheck.isNull()) {
|
||||||
checkJavaPath(queuedCheck);
|
checkJavaPath(queuedCheck);
|
||||||
@ -504,7 +505,7 @@ void JavaSettingsWidget::updateThresholds()
|
|||||||
} else if (observedMaxMemory < observedMinMemory) {
|
} else if (observedMaxMemory < observedMinMemory) {
|
||||||
iconName = "status-yellow";
|
iconName = "status-yellow";
|
||||||
m_labelMaxMemIcon->setToolTip(tr("Your maximum memory allocation is smaller than the minimum value"));
|
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";
|
iconName = "status-bad";
|
||||||
m_labelMaxMemIcon->setToolTip(tr("You are exceeding the maximum allocation supported by 32-bit installations of Java."));
|
m_labelMaxMemIcon->setToolTip(tr("You are exceeding the maximum allocation supported by 32-bit installations of Java."));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user