1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 11:04:10 -04:00

Fixed passing QPoint reference from right click enabler to connected method. Fixes #1549

This commit is contained in:
f4exb
2022-12-28 20:33:28 +01:00
parent 12deb59bf4
commit f45e949e62
49 changed files with 160 additions and 110 deletions
+3 -2
View File
@@ -391,7 +391,7 @@ FreeDVModGUI::FreeDVModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
connect(&MainCore::instance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
CRightClickEnabler *audioMuteRightClickEnabler = new CRightClickEnabler(ui->mic);
connect(audioMuteRightClickEnabler, SIGNAL(rightClick(const QPoint &)), this, SLOT(audioSelect()));
connect(audioMuteRightClickEnabler, SIGNAL(rightClick(const QPoint &)), this, SLOT(audioSelect(const QPoint &)));
ui->deltaFrequencyLabel->setText(QString("%1f").arg(QChar(0x94, 0x03)));
ui->deltaFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold));
@@ -540,10 +540,11 @@ void FreeDVModGUI::enterEvent(EnterEventType* event)
ChannelGUI::enterEvent(event);
}
void FreeDVModGUI::audioSelect()
void FreeDVModGUI::audioSelect(const QPoint& p)
{
qDebug("FreeDVModGUI::audioSelect");
AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input
audioSelect.move(p);
audioSelect.exec();
if (audioSelect.m_selected)