fix java 64 bit condition
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
23c69e7f94
commit
d55ebefac3
@ -504,7 +504,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