X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvMainWindow.cxx;h=a2336e789062e7f36356fa150d7f83bae61dde54;hb=91dc23d0440db7c36cabdb46271bebe30a28819c;hp=141cd1836163fd8ca5144fdcc47c04f4e2d7a6aa;hpb=686056dfe2391eed76302af43b08d30791901965;p=clitk.git diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 141cd18..a2336e7 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -335,7 +335,8 @@ vvMainWindow::vvMainWindow():vvMainWindowBase() void vvMainWindow::UpdateMemoryUsage() { // clitk::PrintMemory(true); - infoPanel->setMemoryInMb(QString::number(clitk::GetMemoryUsageInMb())+" MiB"); + if (clitk::GetMemoryUsageInMb() == 0) infoPanel->setMemoryInMb("NA"); + else infoPanel->setMemoryInMb(QString::number(clitk::GetMemoryUsageInMb())+" MiB"); } //------------------------------------------------------------------------------