QTfrontend/ui/widget/feedbackdialog.cpp
changeset 8871 62468a2a4cdf
parent 8868 6f79a69a41f1
child 8874 8121ce2b0a88
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Fri Apr 05 22:40:44 2013 +0200
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Fri Apr 05 22:46:48 2013 +0200
@@ -244,7 +244,7 @@
     MEMORYSTATUSEX status;
     status.dwLength = sizeof(status);
     GlobalMemoryStatusEx(&status);
-    total_ram += QString::number(status.ullTotalPhys) + "\n";
+    total_ram += QString::number(status.ullTotalPhys/1024/1024) + " MB\n";
 
     switch(QSysInfo::WinVersion())
     {
@@ -266,8 +266,8 @@
 #else
          available_pages = 0,
 #endif*/
-         page_size = sysconf(_SC_PAGE_SIZE);
-    total_ram += QString::number(pages * page_size) + "\n";
+    page_size = sysconf(_SC_PAGE_SIZE);
+    total_ram += QString::number(pages*page_size/1024/1024) + " MB\n";
     os_version += "GNU/Linux or BSD\n";
 #endif