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
if(!m_transmitting){
QTimer::singleShot(0, this, [this, forceDirty](){
// process all received activity...
processActivity(forceDirty);
// process all received activity...
processActivity(forceDirty);
// process outgoing tx queue...
processTxQueue();
// process outgoing tx queue...
processTxQueue();
// once processed, lets update the display...
displayActivity(forceDirty);
updateButtonDisplay();
updateTextDisplay();
});
// once processed, lets update the display...
displayActivity(forceDirty);
updateButtonDisplay();
updateTextDisplay();
}
}