Fixed bug in prepareSpots being called too frequently

This commit is contained in:
Jordan Sherer 2019-07-19 23:08:33 -04:00
parent 7a63002ccd
commit 19e9428218

View File

@ -1667,9 +1667,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
gridButtonLayout->setColumnStretch(1, 1); gridButtonLayout->setColumnStretch(1, 1);
gridButtonLayout->setColumnStretch(2, 1); gridButtonLayout->setColumnStretch(2, 1);
spotSetLocal();
pskSetLocal(); // Prepare spotting configuration...
aprsSetLocal(); prepareSpotting();
displayActivity(true); displayActivity(true);
@ -11271,9 +11271,6 @@ void MainWindow::processSpots() {
// Get the dial frequency to report // Get the dial frequency to report
auto dial = dialFrequency(); auto dial = dialFrequency();
// Process spots to be sent...
prepareSpotting();
while(!m_rxCallQueue.isEmpty()){ while(!m_rxCallQueue.isEmpty()){
CallDetail d = m_rxCallQueue.dequeue(); CallDetail d = m_rxCallQueue.dequeue();
if(d.call.isEmpty()){ if(d.call.isEmpty()){