1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 16:01:14 -05:00

Set spectrum default to log

This commit is contained in:
f4exb 2018-08-15 10:30:12 +02:00
parent 308204e652
commit 1c0e9010d9
2 changed files with 1 additions and 2 deletions

View File

@ -4,8 +4,6 @@
**Check the discussion group** [here](https://groups.io/g/sdrangel) **Check the discussion group** [here](https://groups.io/g/sdrangel)
**⚠ Warning**: Windows distribution is discontinued at version 4.0.0. This is the last version with a Windows build.
<h1>Source code</h1> <h1>Source code</h1>
<h2>Repository branches</h2> <h2>Repository branches</h2>

View File

@ -34,6 +34,7 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
m_averagingNb(0) m_averagingNb(0)
{ {
ui->setupUi(this); ui->setupUi(this);
on_linscale_toggled(false);
ui->refLevel->clear(); ui->refLevel->clear();
for(int ref = 0; ref >= -110; ref -= 5) for(int ref = 0; ref >= -110; ref -= 5)
ui->refLevel->addItem(QString("%1").arg(ref)); ui->refLevel->addItem(QString("%1").arg(ref));