mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:40:05 +00:00 
			
		
		
		
	clang format/tidy fixes for modify_tilt_selection
This commit is contained in:
		
							parent
							
								
									81ec5f9f7a
								
							
						
					
					
						commit
						17b2db64ef
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -1283,7 +1283,7 @@ void MainWindowImpl::ConnectOtherSignals() | ||||||
|       generalSettings.default_radar_site().changed_signal().connect( |       generalSettings.default_radar_site().changed_signal().connect( | ||||||
|          [this]() |          [this]() | ||||||
|          { |          { | ||||||
|             std::shared_ptr<config::RadarSite> radarSite = |             const std::shared_ptr<config::RadarSite> radarSite = | ||||||
|                activeMap_->GetRadarSite(); |                activeMap_->GetRadarSite(); | ||||||
|             const std::string homeRadarSite = |             const std::string homeRadarSite = | ||||||
|                settings::GeneralSettings::Instance() |                settings::GeneralSettings::Instance() | ||||||
|  | @ -1291,8 +1291,7 @@ void MainWindowImpl::ConnectOtherSignals() | ||||||
|                   .GetValue(); |                   .GetValue(); | ||||||
|             if (radarSite == nullptr) |             if (radarSite == nullptr) | ||||||
|             { |             { | ||||||
|                mainWindow_->ui->saveRadarProductsButton->setVisible( |                mainWindow_->ui->saveRadarProductsButton->setVisible(false); | ||||||
|                   false); |  | ||||||
|             } |             } | ||||||
|             else |             else | ||||||
|             { |             { | ||||||
|  |  | ||||||
|  | @ -243,7 +243,7 @@ void Level2SettingsWidget::UpdateElevationSelection(float elevation) | ||||||
| void Level2SettingsWidget::UpdateSettings(map::MapWidget* activeMap) | void Level2SettingsWidget::UpdateSettings(map::MapWidget* activeMap) | ||||||
| { | { | ||||||
|    std::optional<float> currentElevationOption = activeMap->GetElevation(); |    std::optional<float> currentElevationOption = activeMap->GetElevation(); | ||||||
|    float                currentElevation = |    const float          currentElevation = | ||||||
|       currentElevationOption.has_value() ? *currentElevationOption : 0.0f; |       currentElevationOption.has_value() ? *currentElevationOption : 0.0f; | ||||||
|    std::vector<float> elevationCuts    = activeMap->GetElevationCuts(); |    std::vector<float> elevationCuts    = activeMap->GetElevationCuts(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak