Removed single shot timer from gui loop
This commit is contained in:
parent
960b9b14d1
commit
4a38778808
@ -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();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user