Commit 02ebdb54 authored by Antonio Rojas's avatar Antonio Rojas

Fix systemloadviewer tooltip

It was using an undefined variable

REVIEW: 129309
parent b4d0f429
......@@ -221,6 +221,7 @@ Item {
}
var memFree = parseFloat(dataSource.data[dataSource.memFree] ? dataSource.data[dataSource.memFree].value : 0) / 1024
var memUsed = parseFloat(dataSource.data[dataSource.memUsed] ? dataSource.data[dataSource.memUsed].value : 0) / 1024
var memApplication = parseFloat(dataSource.data[dataSource.memApplication] ? dataSource.data[dataSource.memApplication].value : 0) / 1024
var memTotal = memFree + memUsed
var memoryPart = i18n("Memory: %1/%2 MiB", Math.round(memApplication), Math.round(memTotal))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment