mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 18:43:28 -05:00
Fix memleaks
Frees memory allocated in FreqScannerGUI::FreqScannerGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) .../plugins/channelrx/freqscanner/freqscannergui.cpp:499 in FreqScannerGUI::FreqScannerGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) .../plugins/channelrx/freqscanner/freqscannergui.cpp:500 in FreqScannerGUI::FreqScannerGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) .../plugins/channelrx/freqscanner/freqscannergui.cpp:501 in FreqScannerGUI::FreqScannerGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) .../plugins/channelrx/freqscanner/freqscannergui.cpp:502 in FreqScannerGUI::FreqScannerGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) .../plugins/channelrx/freqscanner/freqscannergui.cpp:503
This commit is contained in:
parent
055c03c2b7
commit
3849b1806f
@ -496,11 +496,11 @@ FreqScannerGUI::FreqScannerGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B
|
||||
applyAllSettings();
|
||||
m_resizer.enableChildMouseTracking();
|
||||
|
||||
ui->table->setItemDelegateForColumn(COL_FREQUENCY, new FrequencyDelegate("Auto", 3));
|
||||
ui->table->setItemDelegateForColumn(COL_POWER, new DecimalDelegate(1));
|
||||
ui->table->setItemDelegateForColumn(COL_CHANNEL_BW, new Int64Delegate(0, 10000000));
|
||||
ui->table->setItemDelegateForColumn(COL_TH, new DecimalDelegate(1, -120.0, 0.0));
|
||||
ui->table->setItemDelegateForColumn(COL_SQ, new DecimalDelegate(1, -120.0, 0.0));
|
||||
ui->table->setItemDelegateForColumn(COL_FREQUENCY, new FrequencyDelegate("Auto", 3, true, ui->table));
|
||||
ui->table->setItemDelegateForColumn(COL_POWER, new DecimalDelegate(1, ui->table));
|
||||
ui->table->setItemDelegateForColumn(COL_CHANNEL_BW, new Int64Delegate(0, 10000000, ui->table));
|
||||
ui->table->setItemDelegateForColumn(COL_TH, new DecimalDelegate(1, -120.0, 0.0, ui->table));
|
||||
ui->table->setItemDelegateForColumn(COL_SQ, new DecimalDelegate(1, -120.0, 0.0, ui->table));
|
||||
|
||||
connect(m_deviceUISet->m_spectrum->getSpectrumView(), &GLSpectrumView::updateAnnotations, this, &FreqScannerGUI::updateAnnotations);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user