Changeset 7ba4ea7


Ignore:
Timestamp:
09/23/13 08:26:38 (11 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
155b055
Parents:
5bd70b2
Message:

Change the about gui to use "hw.physmem" instead of "hw.realmem" for the memory size output. This should fix the problem of reporting more memory than the system actually has.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/about-gui/mainwindow.cpp

    r97d7433 r7ba4ea7  
    109109 
    110110    // memory 
    111     ui->MemoryLabel->setText(pcbsd::Utils::bytesToHumanReadable(pcbsd::Utils::sysctlAsInt("hw.realmem"))); 
     111    ui->MemoryLabel->setText(pcbsd::Utils::bytesToHumanReadable(pcbsd::Utils::sysctlAsInt("hw.physmem"))); 
    112112    //this->setFixedSize(this->geometry().width(),this->geometry().height()); 
    113113} 
Note: See TracChangeset for help on using the changeset viewer.