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
 | ||||
|     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(); | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer