equal
deleted
inserted
replaced
271 #ifndef Q_OS_FREEBSD |
271 #ifndef Q_OS_FREEBSD |
272 available_pages = sysconf(_SC_AVPHYS_PAGES), |
272 available_pages = sysconf(_SC_AVPHYS_PAGES), |
273 #else |
273 #else |
274 available_pages = 0, |
274 available_pages = 0, |
275 #endif*/ |
275 #endif*/ |
276 quint page_size = sysconf(_SC_PAGE_SIZE); |
276 quint32 page_size = sysconf(_SC_PAGE_SIZE); |
277 quint total = pages * page_size / 1024 / 1024; |
277 quint32 total = pages * page_size / 1024 / 1024; |
278 total_ram += QString::number(total) + " MB\n"; |
278 total_ram += QString::number(total) + " MB\n"; |
279 os_version += "GNU/Linux or BSD\n"; |
279 os_version += "GNU/Linux or BSD\n"; |
280 #endif |
280 #endif |
281 |
281 |
282 // uname -a |
282 // uname -a |