mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	Userland: Migrate to argument-less deferred_invoke
Only one place used this argument and it was to hold on to a strong ref for the object. Since we already do that now, there's no need to keep this argument around since this can be easily captured. This commit contains no changes.
This commit is contained in:
		
							parent
							
								
									e9121f8b1f
								
							
						
					
					
						commit
						8ea22121ac
					
				
					 32 changed files with 72 additions and 75 deletions
				
			
		|  | @ -154,7 +154,7 @@ int main(int argc, char* argv[]) | |||
|         auto url = URL::create_with_file_protocol(path); | ||||
|         page_view.load_html(html, url); | ||||
| 
 | ||||
|         app->deferred_invoke([&, path](auto&) { | ||||
|         app->deferred_invoke([&, path] { | ||||
|             auto tree_view_index = model->index_from_path(path); | ||||
|             if (tree_view_index.has_value()) { | ||||
|                 tree_view.expand_tree(tree_view_index.value().parent()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sin-ack
						sin-ack