mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:10:05 +00:00 
			
		
		
		
	Fix additional UI update threading issues
This commit is contained in:
		
							parent
							
								
									4e4cc4c9fb
								
							
						
					
					
						commit
						1b71143d71
					
				
					 2 changed files with 2 additions and 5 deletions
				
			
		|  | @ -119,8 +119,7 @@ void Level2ProductsWidgetImpl::UpdateProductSelection( | |||
| { | ||||
|    const std::string& productName = common::GetLevel2Name(product); | ||||
| 
 | ||||
|    std::for_each(std::execution::par_unseq, | ||||
|                  productButtons_.cbegin(), | ||||
|    std::for_each(productButtons_.cbegin(), | ||||
|                  productButtons_.cend(), | ||||
|                  [&](auto& toolButton) | ||||
|                  { | ||||
|  |  | |||
|  | @ -51,7 +51,6 @@ public: | |||
| 
 | ||||
|    void NormalizeElevationButtons(); | ||||
|    void SelectElevation(float elevation); | ||||
|    void UpdateSettings(); | ||||
| 
 | ||||
|    Level2SettingsWidget* self_; | ||||
|    QLayout*              layout_; | ||||
|  | @ -135,8 +134,7 @@ void Level2SettingsWidget::UpdateElevationSelection(float elevation) | |||
|    QString buttonText {QString::number(elevation, 'f', 1) + | ||||
|                        common::Characters::DEGREE}; | ||||
| 
 | ||||
|    std::for_each(std::execution::par_unseq, | ||||
|                  p->elevationButtons_.cbegin(), | ||||
|    std::for_each(p->elevationButtons_.cbegin(), | ||||
|                  p->elevationButtons_.cend(), | ||||
|                  [&](auto& toolButton) | ||||
|                  { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat