Some cosmetic changes in settigs setters
This commit is contained in:
		
							parent
							
								
									3967052375
								
							
						
					
					
						commit
						6374d4eeda
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		|  | @ -233,9 +233,7 @@ void SetScaleFactor() { | ||||||
| void SetIconTheme() { | void SetIconTheme() { | ||||||
| 	Core::Sandbox::Instance().customEnterFromEventLoop([] { | 	Core::Sandbox::Instance().customEnterFromEventLoop([] { | ||||||
| 		const auto integration = GtkIntegration::Instance(); | 		const auto integration = GtkIntegration::Instance(); | ||||||
| 
 | 		if (!integration || !IconThemeShouldBeSet()) { | ||||||
| 		if (!integration |  | ||||||
| 			|| !IconThemeShouldBeSet()) { |  | ||||||
| 			return; | 			return; | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  | @ -270,9 +268,7 @@ void SetIconTheme() { | ||||||
| void SetCursorSize() { | void SetCursorSize() { | ||||||
| 	Core::Sandbox::Instance().customEnterFromEventLoop([] { | 	Core::Sandbox::Instance().customEnterFromEventLoop([] { | ||||||
| 		const auto integration = GtkIntegration::Instance(); | 		const auto integration = GtkIntegration::Instance(); | ||||||
| 
 | 		if (!integration || !CursorSizeShouldBeSet()) { | ||||||
| 		if (!integration |  | ||||||
| 			|| !CursorSizeShouldBeSet()) { |  | ||||||
| 			return; | 			return; | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ilya Fedin
						Ilya Fedin