]> Creatis software - clitk.git/commitdiff
(oups, remove the debug print) and update the memory each 5 seconds
authordsarrut <dsarrut>
Thu, 3 Mar 2011 10:33:56 +0000 (10:33 +0000)
committerdsarrut <dsarrut>
Thu, 3 Mar 2011 10:33:56 +0000 (10:33 +0000)
vv/vvMainWindow.cxx

index 1c109f02aa475eaaba2913d4dccc8d5b0384bf0c..f5d31815862a6cbb8b00c3b5107a4abf85234635 100644 (file)
@@ -330,8 +330,8 @@ vvMainWindow::vvMainWindow():vvMainWindowBase()
 //------------------------------------------------------------------------------
 void vvMainWindow::UpdateMemoryUsage()
 {
-  clitk::PrintMemory(true);
-  ImageInfoChanged();
+  //  clitk::PrintMemory(true);
+  infoPanel->setMemoryInMb(QString::number(clitk::GetMemoryUsageInMb())+" Mb");
 }
 //------------------------------------------------------------------------------