mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Fix memleaks
Frees memory allocated in NavtexDemodGUI::NavtexDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) ...sdrangel/plugins/channelrx/demodnavtex/navtexdemodgui.cpp:528 in NavtexDemodGUI::NavtexDemodGUI(PluginAPI*, DeviceUISet*, BasebandSampleSink*, QWidget*) ...sdrangel/plugins/channelrx/demodnavtex/navtexdemodgui.cpp:529
This commit is contained in:
parent
df42b3019c
commit
79db899dff
@ -525,8 +525,8 @@ NavtexDemodGUI::NavtexDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B
|
|||||||
ui->deltaFrequency->setValueRange(false, 7, -9999999, 9999999);
|
ui->deltaFrequency->setValueRange(false, 7, -9999999, 9999999);
|
||||||
ui->channelPowerMeter->setColorTheme(LevelMeterSignalDB::ColorGreenAndBlue);
|
ui->channelPowerMeter->setColorTheme(LevelMeterSignalDB::ColorGreenAndBlue);
|
||||||
|
|
||||||
ui->messages->setItemDelegateForColumn(MESSAGE_COL_ERROR_PERCENT, new DecimalDelegate(1));
|
ui->messages->setItemDelegateForColumn(MESSAGE_COL_ERROR_PERCENT, new DecimalDelegate(1, ui->messages));
|
||||||
ui->messages->setItemDelegateForColumn(MESSAGE_COL_RSSI, new DecimalDelegate(1));
|
ui->messages->setItemDelegateForColumn(MESSAGE_COL_RSSI, new DecimalDelegate(1, ui->messages));
|
||||||
|
|
||||||
m_scopeVis = m_navtexDemod->getScopeSink();
|
m_scopeVis = m_navtexDemod->getScopeSink();
|
||||||
m_scopeVis->setGLScope(ui->glScope);
|
m_scopeVis->setGLScope(ui->glScope);
|
||||||
|
Loading…
Reference in New Issue
Block a user