QTfrontend/ui/widget/feedbackdialog.cpp
changeset 10804 f5dc72575c92
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
equal deleted inserted replaced
10803:df39aa3f6d4d 10804:f5dc72575c92
   266 #endif
   266 #endif
   267 #ifdef Q_OS_LINUX
   267 #ifdef Q_OS_LINUX
   268     number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n";
   268     number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n";
   269     quint32 pages = sysconf(_SC_PHYS_PAGES);
   269     quint32 pages = sysconf(_SC_PHYS_PAGES);
   270     quint32 page_size = sysconf(_SC_PAGE_SIZE);
   270     quint32 page_size = sysconf(_SC_PAGE_SIZE);
   271     quint32 total = pages * page_size / 1024 / 1024;
   271     quint64 total = (quint64)pages * page_size / 1024 / 1024;
   272     total_ram += QString::number(total) + " MB\n";
   272     total_ram += QString::number(total) + " MB\n";
   273     os_version += "GNU/Linux or BSD\n";
   273     os_version += "GNU/Linux or BSD\n";
   274 #endif
   274 #endif
   275 
   275 
   276     // uname -a
   276     // uname -a