Use correct spelling for kilohertz.

This commit is contained in:
Vesa Solonen 2013-01-07 02:05:52 +02:00 committed by Alexandru Csete
parent 8ba360af62
commit 0492ec65c3
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ void CFreqCtrl::setup(int NumDigits, qint64 Minf, qint64 Maxf,int MinStep, FUNIT
break;
case UNITS_KHZ:
m_DecPos = 3;
m_UnitString = "KHz";
m_UnitString = "kHz";
break;
case UNITS_MHZ:
m_DecPos = 6;
@ -303,7 +303,7 @@ void CFreqCtrl::setUnits(FUNITS units)
break;
case UNITS_KHZ:
m_DecPos = 3;
m_UnitString = "KHz";
m_UnitString = "kHz";
break;
case UNITS_MHZ:
m_DecPos = 6;

View File

@ -12,7 +12,7 @@
// Promote it to the CFreqCtrl class and include file freqctrl.h
// Initilaize the control in the constructor of the controls parent
// ex: ui->frameFreqCtrl->Setup(9, 10000U, 230000000U, 1, UNITS_MHZ );
// where 9 is the number of display digits, min freq is 10KHz , Max is 230MHz
// where 9 is the number of display digits, min freq is 10kHz , Max is 230MHz
// the minimum step size is 1Hz and the freq is displayed as MHz
// NOTE: the frequency is a qint64 64 bit integer value
// to change frequency call SetFrequency()