mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	Userland: Use nondeprecated set_tooltip for static and formatted strings
This commit is contained in:
		
							parent
							
								
									46a97844c7
								
							
						
					
					
						commit
						ed3e729d4e
					
				
					 18 changed files with 45 additions and 45 deletions
				
			
		|  | @ -32,7 +32,7 @@ GitWidget::GitWidget() | |||
|     auto& refresh_button = unstaged_header.add<GUI::Button>(); | ||||
|     refresh_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"sv).release_value_but_fixme_should_propagate_errors()); | ||||
|     refresh_button.set_fixed_size(16, 16); | ||||
|     refresh_button.set_tooltip_deprecated("refresh"); | ||||
|     refresh_button.set_tooltip("refresh"_string); | ||||
|     refresh_button.on_click = [this](int) { refresh(); }; | ||||
| 
 | ||||
|     auto& unstaged_label = unstaged_header.add<GUI::Label>(); | ||||
|  | @ -62,7 +62,7 @@ GitWidget::GitWidget() | |||
|     auto& commit_button = staged_header.add<GUI::Button>(); | ||||
|     commit_button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/commit.png"sv).release_value_but_fixme_should_propagate_errors()); | ||||
|     commit_button.set_fixed_size(16, 16); | ||||
|     commit_button.set_tooltip_deprecated("commit"); | ||||
|     commit_button.set_tooltip("commit"_string); | ||||
|     commit_button.on_click = [this](int) { commit(); }; | ||||
| 
 | ||||
|     auto& staged_label = staged_header.add<GUI::Label>(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Karol Kosek
						Karol Kosek