mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Formatting font_manager.cpp
This commit is contained in:
		
							parent
							
								
									3a8cdb8ea1
								
							
						
					
					
						commit
						afcca785eb
					
				
					 1 changed files with 14 additions and 14 deletions
				
			
		|  | @ -139,22 +139,22 @@ void FontManager::Impl::ConnectSignals() | ||||||
|             }); |             }); | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|    QObject::connect( |    QObject::connect(&SettingsManager::Instance(), | ||||||
|       &SettingsManager::Instance(), |                     &SettingsManager::SettingsSaved, | ||||||
|       &SettingsManager::SettingsSaved, |                     self_, | ||||||
|       self_, |                     [this]() | ||||||
|       [this]() |                     { | ||||||
|       { |                        std::scoped_lock lock {dirtyFontsMutex_, | ||||||
|          std::scoped_lock lock {dirtyFontsMutex_, fontCategoryMutex_}; |                                               fontCategoryMutex_}; | ||||||
| 
 | 
 | ||||||
|          for (auto fontCategory : dirtyFonts_) |                        for (auto fontCategory : dirtyFonts_) | ||||||
|          { |                        { | ||||||
|             UpdateImGuiFont(fontCategory); |                           UpdateImGuiFont(fontCategory); | ||||||
|             UpdateQFont(fontCategory); |                           UpdateQFont(fontCategory); | ||||||
|          } |                        } | ||||||
| 
 | 
 | ||||||
|          dirtyFonts_.clear(); |                        dirtyFonts_.clear(); | ||||||
|       }); |                     }); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void FontManager::InitializeFonts() | void FontManager::InitializeFonts() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat