fufufufu (cont'd)
authorkoda
Mon, 08 Jul 2013 09:53:25 +0200
changeset 9335 f1ac1aa3f88d
parent 9333 972fa9ecd587
child 9337 c9d4daae1dee
fufufufu (cont'd)
QTfrontend/ui/widget/feedbackdialog.cpp
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Mon Jul 08 09:45:37 2013 +0200
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Mon Jul 08 09:53:25 2013 +0200
@@ -266,13 +266,7 @@
 #endif
 #ifdef Q_OS_LINUX
     number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n";
-    long pages = sysconf(_SC_PHYS_PAGES),
-/*
-#ifndef Q_OS_FREEBSD
-         available_pages = sysconf(_SC_AVPHYS_PAGES),
-#else
-         available_pages = 0,
-#endif*/
+    quint32 pages = sysconf(_SC_PHYS_PAGES);
     quint32 page_size = sysconf(_SC_PAGE_SIZE);
     quint32 total = pages * page_size / 1024 / 1024;
     total_ram += QString::number(total) + " MB\n";