Removed single shot timer from gui loop

This commit is contained in:
Jordan Sherer 2018-10-15 02:10:48 -04:00
parent 960b9b14d1
commit 4a38778808

View File

@ -4474,18 +4474,16 @@ void MainWindow::guiUpdate()
// once per second...but not when we're transmitting // once per second...but not when we're transmitting
if(!m_transmitting){ if(!m_transmitting){
QTimer::singleShot(0, this, [this, forceDirty](){ // process all received activity...
// process all received activity... processActivity(forceDirty);
processActivity(forceDirty);
// process outgoing tx queue... // process outgoing tx queue...
processTxQueue(); processTxQueue();
// once processed, lets update the display... // once processed, lets update the display...
displayActivity(forceDirty); displayActivity(forceDirty);
updateButtonDisplay(); updateButtonDisplay();
updateTextDisplay(); updateTextDisplay();
});
} }
} }