diff --git a/plugins/channelrx/demodam/amdemodgui.cpp b/plugins/channelrx/demodam/amdemodgui.cpp index f7ef057aa9..ef67181733 100644 --- a/plugins/channelrx/demodam/amdemodgui.cpp +++ b/plugins/channelrx/demodam/amdemodgui.cpp @@ -611,6 +611,7 @@ void AMDemodGUI::audioSelect(const QPoint& p) qDebug("AMDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodbfm/bfmdemodgui.cpp b/plugins/channelrx/demodbfm/bfmdemodgui.cpp index 60681009d0..957451fb7a 100644 --- a/plugins/channelrx/demodbfm/bfmdemodgui.cpp +++ b/plugins/channelrx/demodbfm/bfmdemodgui.cpp @@ -532,6 +532,7 @@ void BFMDemodGUI::audioSelect(const QPoint& p) qDebug("BFMDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demoddab/dabdemodgui.cpp b/plugins/channelrx/demoddab/dabdemodgui.cpp index 15587e8ae2..99fb29614e 100644 --- a/plugins/channelrx/demoddab/dabdemodgui.cpp +++ b/plugins/channelrx/demoddab/dabdemodgui.cpp @@ -701,6 +701,7 @@ void DABDemodGUI::audioSelect(const QPoint& p) { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demoddatv/datvdemodgui.cpp b/plugins/channelrx/demoddatv/datvdemodgui.cpp index 938c639ae9..c7c6ab546a 100644 --- a/plugins/channelrx/demoddatv/datvdemodgui.cpp +++ b/plugins/channelrx/demoddatv/datvdemodgui.cpp @@ -515,6 +515,7 @@ void DATVDemodGUI::audioSelect(const QPoint& p) qDebug("DATVDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demoddsd/dsddemodgui.cpp b/plugins/channelrx/demoddsd/dsddemodgui.cpp index 45ee195ec1..5facbde520 100644 --- a/plugins/channelrx/demoddsd/dsddemodgui.cpp +++ b/plugins/channelrx/demoddsd/dsddemodgui.cpp @@ -607,6 +607,7 @@ void DSDDemodGUI::audioSelect(const QPoint& p) qDebug("DSDDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodfreedv/freedvdemodgui.cpp b/plugins/channelrx/demodfreedv/freedvdemodgui.cpp index e967679712..5df83b2505 100644 --- a/plugins/channelrx/demodfreedv/freedvdemodgui.cpp +++ b/plugins/channelrx/demodfreedv/freedvdemodgui.cpp @@ -441,6 +441,7 @@ void FreeDVDemodGUI::audioSelect(const QPoint& p) qDebug("FreeDVDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodft8/ft8demodgui.cpp b/plugins/channelrx/demodft8/ft8demodgui.cpp index ea61a5cdfb..2f5123cdfa 100644 --- a/plugins/channelrx/demodft8/ft8demodgui.cpp +++ b/plugins/channelrx/demodft8/ft8demodgui.cpp @@ -27,7 +27,6 @@ #include "gui/basicchannelsettingsdialog.h" #include "gui/devicestreamselectiondialog.h" #include "gui/crightclickenabler.h" -#include "gui/audioselectdialog.h" #include "gui/dialpopup.h" #include "gui/dialogpositioner.h" #include "util/db.h" diff --git a/plugins/channelrx/demodils/ilsdemodgui.cpp b/plugins/channelrx/demodils/ilsdemodgui.cpp index 07415def2a..7dad42ad72 100644 --- a/plugins/channelrx/demodils/ilsdemodgui.cpp +++ b/plugins/channelrx/demodils/ilsdemodgui.cpp @@ -1278,6 +1278,7 @@ void ILSDemodGUI::audioSelect(const QPoint& p) qDebug("ILSDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodm17/m17demodgui.cpp b/plugins/channelrx/demodm17/m17demodgui.cpp index 58157b6b52..7c88a34f8b 100644 --- a/plugins/channelrx/demodm17/m17demodgui.cpp +++ b/plugins/channelrx/demodm17/m17demodgui.cpp @@ -644,6 +644,7 @@ void M17DemodGUI::audioSelect(const QPoint& p) { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodnfm/nfmdemodgui.cpp b/plugins/channelrx/demodnfm/nfmdemodgui.cpp index f380de811d..f6825ed0da 100644 --- a/plugins/channelrx/demodnfm/nfmdemodgui.cpp +++ b/plugins/channelrx/demodnfm/nfmdemodgui.cpp @@ -584,6 +584,7 @@ void NFMDemodGUI::audioSelect(const QPoint& p) qDebug("NFMDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodssb/ssbdemodgui.cpp b/plugins/channelrx/demodssb/ssbdemodgui.cpp index e61de963f7..3ec8ded875 100644 --- a/plugins/channelrx/demodssb/ssbdemodgui.cpp +++ b/plugins/channelrx/demodssb/ssbdemodgui.cpp @@ -718,6 +718,7 @@ void SSBDemodGUI::audioSelect(const QPoint& p) { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodvor/vordemodgui.cpp b/plugins/channelrx/demodvor/vordemodgui.cpp index e11f6e6099..badb89c8a1 100644 --- a/plugins/channelrx/demodvor/vordemodgui.cpp +++ b/plugins/channelrx/demodvor/vordemodgui.cpp @@ -417,6 +417,7 @@ void VORDemodGUI::audioSelect(const QPoint& p) qDebug("VORDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodvormc/vordemodmcgui.cpp b/plugins/channelrx/demodvormc/vordemodmcgui.cpp index 905c9f0aac..6813f972eb 100644 --- a/plugins/channelrx/demodvormc/vordemodmcgui.cpp +++ b/plugins/channelrx/demodvormc/vordemodmcgui.cpp @@ -1368,6 +1368,7 @@ void VORDemodMCGUI::audioSelect(const QPoint& p) qDebug("VORDemodMCGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/demodwfm/wfmdemodgui.cpp b/plugins/channelrx/demodwfm/wfmdemodgui.cpp index 1cf14ef45a..a4ef9ba8e6 100644 --- a/plugins/channelrx/demodwfm/wfmdemodgui.cpp +++ b/plugins/channelrx/demodwfm/wfmdemodgui.cpp @@ -336,6 +336,7 @@ void WFMDemodGUI::audioSelect(const QPoint& p) qDebug("WFMDemodGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName); audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channelrx/freqtracker/freqtrackergui.cpp b/plugins/channelrx/freqtracker/freqtrackergui.cpp index bbef439b6d..ecee09b13b 100644 --- a/plugins/channelrx/freqtracker/freqtrackergui.cpp +++ b/plugins/channelrx/freqtracker/freqtrackergui.cpp @@ -32,7 +32,6 @@ #include "gui/devicestreamselectiondialog.h" #include "dsp/dspengine.h" #include "gui/crightclickenabler.h" -#include "gui/audioselectdialog.h" #include "gui/dialpopup.h" #include "gui/dialogpositioner.h" #include "maincore.h" diff --git a/plugins/channeltx/modam/ammodgui.cpp b/plugins/channeltx/modam/ammodgui.cpp index 6bfcf5bfb4..47f1a47bbe 100644 --- a/plugins/channeltx/modam/ammodgui.cpp +++ b/plugins/channeltx/modam/ammodgui.cpp @@ -503,7 +503,7 @@ void AMModGUI::audioSelect(const QPoint& p) qDebug("AMModGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input audioSelect.move(p); - + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channeltx/modfreedv/freedvmodgui.cpp b/plugins/channeltx/modfreedv/freedvmodgui.cpp index 2cdd5dd105..0aca05718a 100644 --- a/plugins/channeltx/modfreedv/freedvmodgui.cpp +++ b/plugins/channeltx/modfreedv/freedvmodgui.cpp @@ -550,6 +550,7 @@ 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); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channeltx/modm17/m17modgui.cpp b/plugins/channeltx/modm17/m17modgui.cpp index 3adbcc461c..4688d984de 100644 --- a/plugins/channeltx/modm17/m17modgui.cpp +++ b/plugins/channeltx/modm17/m17modgui.cpp @@ -717,6 +717,7 @@ void M17ModGUI::audioSelect(const QPoint& p) qDebug("M17ModGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) @@ -731,6 +732,7 @@ void M17ModGUI::audioFeedbackSelect(const QPoint& p) qDebug("M17ModGUI::audioFeedbackSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, false); // false for output audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channeltx/modnfm/nfmmodgui.cpp b/plugins/channeltx/modnfm/nfmmodgui.cpp index ff9e444df4..1d8b03d836 100644 --- a/plugins/channeltx/modnfm/nfmmodgui.cpp +++ b/plugins/channeltx/modnfm/nfmmodgui.cpp @@ -623,6 +623,7 @@ void NFMModGUI::audioSelect(const QPoint& p) qDebug("NFMModGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) @@ -637,6 +638,7 @@ void NFMModGUI::audioFeedbackSelect(const QPoint& p) qDebug("NFMModGUI::audioFeedbackSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, false); // false for output audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channeltx/modssb/ssbmodgui.cpp b/plugins/channeltx/modssb/ssbmodgui.cpp index 8a61a81cd2..b708413f40 100644 --- a/plugins/channeltx/modssb/ssbmodgui.cpp +++ b/plugins/channeltx/modssb/ssbmodgui.cpp @@ -770,6 +770,7 @@ void SSBModGUI::audioSelect(const QPoint& p) qDebug("SSBModGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) @@ -784,6 +785,7 @@ void SSBModGUI::audioFeedbackSelect(const QPoint& p) qDebug("SSBModGUI::audioFeedbackSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, false); // false for output audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/channeltx/modwfm/wfmmodgui.cpp b/plugins/channeltx/modwfm/wfmmodgui.cpp index 5c3b9951da..b2eea45922 100644 --- a/plugins/channeltx/modwfm/wfmmodgui.cpp +++ b/plugins/channeltx/modwfm/wfmmodgui.cpp @@ -518,6 +518,7 @@ void WFMModGUI::audioSelect(const QPoint& p) qDebug("WFMModGUI::audioSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, true); // true for input audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) @@ -532,6 +533,7 @@ void WFMModGUI::audioFeedbackSelect(const QPoint& p) qDebug("WFMModGUI::audioFeedbackSelect"); AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_audioDeviceName, false); // false for output audioSelect.move(p); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/samplemimo/audiocatsiso/audiocatsisogui.cpp b/plugins/samplemimo/audiocatsiso/audiocatsisogui.cpp index 635b931e89..2888a9479d 100644 --- a/plugins/samplemimo/audiocatsiso/audiocatsisogui.cpp +++ b/plugins/samplemimo/audiocatsiso/audiocatsisogui.cpp @@ -324,6 +324,7 @@ void AudioCATSISOGUI::on_transverter_clicked() void AudioCATSISOGUI::on_rxDeviceSelect_clicked() { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_txDeviceName, true, this); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) @@ -338,6 +339,7 @@ void AudioCATSISOGUI::on_rxDeviceSelect_clicked() void AudioCATSISOGUI::on_txDeviceSelect_clicked() { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_txDeviceName, false, this); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected) diff --git a/plugins/samplesink/audiooutput/audiooutputgui.cpp b/plugins/samplesink/audiooutput/audiooutputgui.cpp index c4a7c3c3f6..7e239f2e1d 100644 --- a/plugins/samplesink/audiooutput/audiooutputgui.cpp +++ b/plugins/samplesink/audiooutput/audiooutputgui.cpp @@ -183,6 +183,7 @@ void AudioOutputGui::displaySettings() void AudioOutputGui::on_deviceSelect_clicked() { AudioSelectDialog audioSelect(DSPEngine::instance()->getAudioDeviceManager(), m_settings.m_deviceName, false, this); + new DialogPositioner(&audioSelect, false); audioSelect.exec(); if (audioSelect.m_selected)