mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:40:05 +00:00 
			
		
		
		
	Additional clang-tidy action cleanup
This commit is contained in:
		
							parent
							
								
									57b773d009
								
							
						
					
					
						commit
						a3eb53a649
					
				
					 15 changed files with 128 additions and 117 deletions
				
			
		|  | @ -1098,12 +1098,12 @@ void MainWindowImpl::ConnectOtherSignals() | |||
|       mainWindow_, | ||||
|       [this](Qt::CheckState state) | ||||
|       { | ||||
|          bool smoothingEnabled = (state == Qt::CheckState::Checked); | ||||
|          const bool smoothingEnabled = (state == Qt::CheckState::Checked); | ||||
| 
 | ||||
|          auto it = std::find(maps_.cbegin(), maps_.cend(), activeMap_); | ||||
|          if (it != maps_.cend()) | ||||
|          { | ||||
|             std::size_t i = std::distance(maps_.cbegin(), it); | ||||
|             const std::size_t i = std::distance(maps_.cbegin(), it); | ||||
|             settings::MapSettings::Instance().smoothing_enabled(i).StageValue( | ||||
|                smoothingEnabled); | ||||
|          } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat